CodeForces Good Bye 2018 A. New Year and the Christmas Ornament $(x+1,x+2,x+3)$ として $x$ として可能な最大値を求める. B. New Year and the Tre... 2025.04.04 CodeForces
CodeForces Educational Codeforces Round 59 A. Digits Sequence Dividing 長さ 3 以上なら先頭 1 項だけでグループを作ればよいです. B. Digital root mod 9 C. Brut... 2025.04.04 CodeForces
CodeForces Educational Codeforces Round 60 A. Best Subsegment 最大平均は $\max A$ で,長さ 1 の場合に実現できます. $\max A$ からなる最長 subarray を求めればよいです. B. Emote... 2025.04.04 CodeForces
CodeForces Educational Codeforces Round 177 A. Cloudberry Jam よくわからないけど 2n を出力すれば ok っぽい? B. Large Array and Segments 周期いくつか分と suffix ひとつです.su... 2025.04.04 CodeForces
CodeForces Educational Codeforces Round 58 A. Minimum Integer $d$ または $R$ より大きい最小の $d$ の倍数. B. Accordion 最後に残した文字が のどれであるかで dp ができます. ... 2025.04.03 CodeForces
CodeForces Educational Codeforces Round 57 A. Find Divisible $r<2l$ ならば無理,そうでなければ $(x,2x)$ の形である. B. Substring Removal 先頭の文字または末尾の文字は残すことに... 2025.04.03 CodeForces
CodeForces Codeforces Round 443 (div1) (div2) A. Short Program 各ビットが 0 から始まったときと 1 から始まったときの最終的な値を計算しておきます.出力は or, xor の 2 行で行えます. ... 2025.04.03 CodeForces
CodeForces April Fools Day Contest 2025 いわゆる解説 AC しかしていません. A. Piecing It Together print("puzzling") B. Plinko パチンコで 10 連勝せよという感じ.$$ 以外... 2025.04.02 CodeForces
CodeForces Codeforces Round 462 (div1) (div2) A. A Twisty Movement $O(N)$ 時間.結局列を 0, 1, 2, 3 の 4 部分に分けて(空でもよい),0, 2 番目にある「1」と 1, 3 番目にある「2... 2025.04.02 CodeForces
CodeForces Educational Codeforces Round 56 A. Dice Rolling $x\in $ となる $n$ を出力. B. Letters Rearranging 文字種が 2 以上あるとき,先頭と末尾の文字が別になるようにすればよいです.... 2025.04.02 CodeForces