maspy

スポンサーリンク
CodeForces

Educational Codeforces Round 16

A. King Moves 各方向が盤面内かどうか. B. Optimal Point on a Line 中央値.leftmost one を出力することに注意. C. Mag...
CodeForces

Educational Codeforces Round 15

A. Maximum Increase 各 $i$ に対して,$A$ が末尾であるような最大長さが求まります. B. Powers of Two $2^x$ と書ける数は少ないので全探索します. ...
CodeForces

Educational Codeforces Round 14

A. Fashion in Berland 読解.$n=1$ のとき特殊ルール. B. s-palindrome ひど.対称なペアを埋め込むしかなさそうだし,結構たくさんある. ...
CodeForces

Educational Codeforces Round 13

A. Johny Likes Numbers $(n+1)/k$ の切り上げ. B. The Same Calendar カレンダーライブラリ整備問題. C. Joty and ...
CodeForces

Codeforces Round 1009

A. Draw a Square 4 数が等しいかを判定. B. The Third Side $a,b$ があるとき次に書けるのは $a+b-1$ 以下で,ここから(操作順によらない)上界が出て...
CodeForces

Educational Codeforces Round 12

A. Buses Between Cities 読解難.B から A へのバスをすべて試して数えます. B. Shopping そのままシミュレーション. C. Simple S...
CodeForces

Educational Codeforces Round 11

A. Co-prime Array 互いに素でないところの間に $1$ を挿入すればよいです. B. Seating On Bus 書かれている通りにシミュレーション. C. H...
CodeForces

Educational Codeforces Round 10

A. Gabriel and Caterpillar 読解が本質すぎる.十分な個数の時刻をシミュレーション. B. z-sort 偶数添え字に小さいもの,奇数添え字に大きいものを置いていきます. ...
CodeForces

Educational Codeforces Round 9

A. Grandma Laura and Apples 後ろから順に決まっていきます. B. Alice, Bob, Two Teams 適当な累積和を前計算すれば,prefix, suffix ...
CodeForces

Educational Codeforces Round 8

A. Tennis Tournament 参加人数は $n$ で試合数は $n-1$ です. B. New Skateboard 長さ $2$ 以上のものについては,末尾 $2$ 文字を決めたら判...
スポンサーリンク
タイトルとURLをコピーしました