RGB_ICPC7's submission of Treasure Hunt | CodeChef