CodeForces Educational Codeforces Round 18 A. New Bus Route ソートして差分の最大値を数える. B. Counting-out Rhyme 書いてある通りにシミュレーション. C. Divide by Th... 2025.03.18 CodeForces
CodeForces Educational Codeforces Round 176 A. To Zero 貪欲に引いてとっていきます.$2$ 回目以降は $x$ が偶数で確定なので,$k-1$ ずつです. B. Array Recoloring 最後に塗るものを固定します.最初に... 2025.03.18 CodeForces
CodeForces Educational Codeforces Round 17 A. k-th divisor 約数を全列挙します. B. USB vs. PS/2 それぞれのタイプに貪欲に割り当てたあと残りを回収. C. Two strings b ... 2025.03.13 CodeForces
CodeForces Codeforces Round 545 A. Skyscrapers 行ごと・列ごとに座圧します.マスに対する答は,行・列の圧縮後の要素数およびそのマスがその中で何番目であるかから計算できます. B. Camp Schedule ... 2025.03.12 CodeForces
CodeForces Educational Codeforces Round 16 A. King Moves 各方向が盤面内かどうか. B. Optimal Point on a Line 中央値.leftmost one を出力することに注意. C. Mag... 2025.03.12 CodeForces
CodeForces Educational Codeforces Round 15 A. Maximum Increase 各 $i$ に対して,$A$ が末尾であるような最大長さが求まります. B. Powers of Two $2^x$ と書ける数は少ないので全探索します. ... 2025.03.12 CodeForces
CodeForces Educational Codeforces Round 14 A. Fashion in Berland 読解.$n=1$ のとき特殊ルール. B. s-palindrome ひど.対称なペアを埋め込むしかなさそうだし,結構たくさんある. ... 2025.03.12 CodeForces
CodeForces Educational Codeforces Round 13 A. Johny Likes Numbers $(n+1)/k$ の切り上げ. B. The Same Calendar カレンダーライブラリ整備問題. C. Joty and ... 2025.03.12 CodeForces
CodeForces Codeforces Round 1009 A. Draw a Square 4 数が等しいかを判定. B. The Third Side $a,b$ があるとき次に書けるのは $a+b-1$ 以下で,ここから(操作順によらない)上界が出て... 2025.03.12 CodeForces
CodeForces Educational Codeforces Round 12 A. Buses Between Cities 読解難.B から A へのバスをすべて試して数えます. B. Shopping そのままシミュレーション. C. Simple S... 2025.03.11 CodeForces