Rosetta Problems

ニコニコ文字列

https://atcoder.jp/contests/dwango2015-prelims/tasks/dwango2015_prelims_2