Rosetta Problems

共通部分文字列

https://atcoder.jp/contests/joi2008ho/tasks/joi2008ho_b