ACM ICPC Contest question solved