Rosetta Problems

The Lost World: Jigsaw Puzzle and Detective

https://onlinejudge.u-aizu.ac.jp/problems/3323