I just began giving competitions on codeforces . However when I coded one of the questions the judge show that for a particular test case my program was giving WA . When I reviewed that test case and ran it on ideone it gave the correct expected output . What could be the problem ?
Link to my code (with the specific test case) : 64wFll - Online C++0x Compiler & Debugging Tool - Ideone.com
Link to the problem : Problem - B - Codeforces