ACM-ICPC moscow quarterfinals
Can somebody explain the 3rd test case in Problem...
ICPC NA North Central and South Division