Page 9 - Showing 8 of 94 posts
View all posts by years →
- Codeforces Round #612 (Div. 2)
无脑DP.设状态表示已经设置了位,用了个偶数,第位是偶数/奇数.然后
2 min 中文 - CF1285D Dr.Evil Underscores
Today, as a friendship gift, Bakry gave Badawy n integers a1,a2,…,an and challenged him to choose an integer X such that the value max1≤i≤n(ai⊕X) is...
2 min 中文 - 数位DP
不要4,可以在4时直接不转移。对于62,可以维护一个上一个数字填了啥,就可以像4一样判断了。
13 min 中文 - Liaoning Ship’s Voyage
Liaoning ship, which named after a province of China, is the first aircraft carrier commissioned into the Peoples Liberation Army Navy. It was bought...
6 min 中文 - [CCPC2017杭州] Heathrock
额……其实就是爆搜模拟。但是状态比较多,需要记双方生命值,3个随从的生命,当前场数,魔力,体力,以及一些玄学优化。
3 min 中文 - [CCPC 2017] Master of Sequence
1. 修改数列a的第i个为x 2. 修改数列b的第i个为x 3. 给出k,求最小的t,满足
2 min 中文 - [CFEDU74 E] Keyboard Purchase
当在使用一指禅键入一个字符串的时候,你需要不停的移动手指。比如说输入“af”,手指需要跨过3个键(包括终点)输入“a”和“f”。
3 min 中文 - [CF EDU72D] Coloring Edges
You are given a directed graph with n vertices and m directed edges without self-loops or multiple edges.
1 min 中文