boj 2422 with std::map