i solved the problem correctly but each time i try to run or submit that particular problem it says that unable to connect to the codechef server please do some thing about it.
This is because of some Ad blocker extension you would have used. Disable it once and then it will work.