Kattis ICPC World Finals 2015 Warmup 6B

Standings

First to solve Solved Attempted Pending judgement