Kattis Set 10

Results

First to solve Solved Attempted Pending judgement