B. Same Map in the RPG World

Problem Name:
B. Same Map in the RPG World
Site:AtCoder
Links:
Tags: