摘要:
This is just sad. Wait, no, not just sad. Sad and enraging. Great job! -- Um_nik A. Long Shuffle (1600) 打表容易发现当 $n$ 为偶数时,对于所有 $k \in [1,n/2]$,$(A_{2k- 阅读全文
摘要:
去年的比赛拖到今年发了呢... ~~Atcoder Proving Contest~~ A. My Last ABC Problem (2000) ~~场上打表找规律找了半天~~ 考虑如何处理单个询问。 显然连续相同字母可以缩起来(即不会在段内分割),设段数为 $k$。 对于一次操作 $[l,r]$ 阅读全文
摘要:
更好的阅读体验 Problems as pleasant as always -- antontrygubO_o A. Make it Zigzag (1100) 考虑一个暴力做法: 依次遍历 \(i=1,2,\cdots,2n-1\),若 \(a_i\) 与 \(a_{i+1}\) 的大小关系错误 阅读全文
摘要:
Nice, 57th AGC on May 7. I guess 58th AGC will be the next time May 8 is Saturday? --Radewoosh A. Antichain of Integer Strings (1400) 设 \(f(x)\) 表示最小的 阅读全文