808A Lucky year

Revision en1, by thedsk, 2017-07-02 11:43:53

I have been trying this question and i am getting wrong answer on testcase2.I m using codechef compiler right now and it is printing the expected output.But codeforces is giving me wrong answer and I dont know why.Link to my code is below and i have tried to submit this solution in two different languages GNUC++ and GNUC++11. If I increment x by 1 it fails test case 3.Can u plz help!!! http://codeforces.com/contest/808/submission/28206449

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English thedsk 2017-07-02 11:43:53 460 Initial revision (published)