Submission #60618977 - HACK TO THE FUTURE 2025 (AtCoder Heuristic Contest 040)
AtCoder is a programming contest site for anyone from beginners to experts. We hold weekly programming contests online.