はむこの勉強記録

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

AtCoder Grand Contest 016 A - Shrinking (python)

agc016.contest.atcoder.jp

気軽にsplitとかを前提にしたアルゴリズムを組めるのはいいね。