Rosetta Problems

解読 (Deciphering)

https://atcoder.jp/contests/joisc2011/tasks/joisc2011_deciphering