kwm_t

kwm_tのメモ

2023-03-05から1日間の記事一覧

Codeforces Round 856 (Div. 2)

やっと薄橙 ■A. Prefix and Suffix Array 同じ長さのものを片側反転して一致判定 ■B. Not Dividing 1は嬉しくないので2にするとして あとは適当に+1して調整 ■C. Scoring Subsequences セグ木で二分探索しました ■D. Counting Factorizations 簡単dp ■E. Lab…

ABC292

■A - CAPS LOCK はい ■B - Yellow and Red Card カウンタを更新する ■C - Four Variables 全探索 ■D - Unicyclic Components dsuで適当に ■E - Transitivity bfsをn回 ■F - Regular Triangle Inside a Rectangle 二分探索 ■G - Count Strictly Increasing Se…