ICPC WF 2017 Warmup 4

Standings

First to solve Solved Attempted Pending judgement