Codeforces #171(Div.2)
Codeforces #146 & 174
Codeforces #170(Div.1) 練習