はむこの勉強記録

http://bit.ly/2ktf20t の写し

AtCoder Grand Contest 029 - C - Lexicographic constraints

docs.google.com