kwm_t

kwm_tのメモ

Codeforces Round 944 (Div. 4)

■A. My First Sorting Problem
swap
■B. Different String
全部同じ文字でなければなんでも
■C. Clock and Strings
swapして適当にして適当に
■D. Binary Cut
ランレングス圧縮して適当に
■E. Find the Car
算数
■F. Circle Perimeter
二分探索
■G. XOUR
a[i]/4でグループに
■H. ±1
two_sat
a[i][j]とa[k][j]がともに-1なら駄目⇔
a[i][j]とa[k][j]のいずれかが1