Rosetta Problems

天下一文字列集合

https://atcoder.jp/contests/tenka1-2014-quala/tasks/tenka1_2014_qualA_c