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
CodeForces Educational Codeforces Round 55 A. Vasya and Book 直接行く,$1$ を経由,$N$ を経由の 3 通りを調べる. B. Vova and Trophies 二分探索で判定. C. Multi-... 2025.04.02 CodeForces
CodeForces Educational Codeforces Round 54 A. Minimizing the String $s_i>s_{i+1}$ となる最小の $i$. B. Divisor Subtraction $1$ 手以内には偶数になりそれ以降は $d=2... 2025.04.02 CodeForces
CodeForces Codeforces Round 519 by Botan Investments A. Elections 総数が $2\times sum(A)$ を超えるようにする. B. Lost Array $k$ を決めたときの判定は簡単.すべての $k$ をそのまま試せばよいです.... 2025.04.02 CodeForces
CodeForces Educational Codeforces Round 53 A. Diverse Substring 存在するならば長さ 2 のものがあります. B. Vasya and Books そのままシミュレーション.列のどこまでが消えているかを持ちます. ... 2025.04.01 CodeForces
CodeForces Educational Codeforces Round 52 A. Vasya and Chocolate $a$ の購入で $b$ もらえるのであって,取得に対してもらえるわけではないのでかなり明らかです. B. Vasya and Isolated Verti... 2025.04.01 CodeForces