practice easy - lead game

hey everybody plz help me out im getting wrong answer for lead game problem so plz do tell me where im wrong my solution is in the link below
http://www.codechef.com/viewsolution/5481681

Check this thread,

http://discuss.codechef.com/questions/57067/the-lead-gamewhy-is-answer-wrong

You have to calculate total lead.