Please read the new rule regarding the restriction on the use of AI tools. ×

My code giving different output on my PC and Codeforces judge.

Revision en1, by shubhsy, 2018-08-31 19:10:01

Here is my submission and it gives wrong answer for test case 1. It gives an answer of 8 on Codeforces when I submit and 7 when I run it on PC. Can someone help me with that? http://codeforces.me/problemset/submission/1029/42313945

Tags #c++, 1029d, #round #506

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English shubhsy 2018-08-31 19:10:01 296 Initial revision (published)