Kattis ICPC World Finals 2015 Warmup 4

Standings

Solved Attempted Pending judgement