SPOJ PROBLEM STUCK!
Guys i am stuck in this problem-http://www.spoj.com/problems/RATING/.Any help will be appreciated .
ICPC NA North Central and South Division