can someone plzz help me out i am not able to get it where i am going wrong!!

Greedy Candidates
https://www.codechef.com/viewsolution/15086518

You already got 100 points in that question. The JAVA submission you gave has compilation error, so compile it on codechef ide (preferable) and check out the errors.

Move pair class to line 4, after import statements.