Submission #7115913 - Japanese Student Championship 2019 Qualification

AtCoder is a programming contest site for anyone from beginners to experts. We hold weekly programming contests online.