Reminder: in case of any technical issues, you can use the lightweight website m1.codeforces.com, m2.codeforces.com, m3.codeforces.com. ×

Difference in output on codeforces in C++

Revision en1, by malviyan_shiv, 2019-02-11 00:11:21

In Codeforces Round #538 (Div. 2), I submitted the solution for problem C and got WA on test case 4 ( solution link ). I checked it offline and it gave correct output for test case 4. I also checked it on online compiler ideone, and it also gave the correct result. I tried submitting in different versions of C++ ( an illogical attempt and so )... failed. Please help me to find the cause of ambiguity ?

Tags c++, #538 div2

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English malviyan_shiv 2019-02-11 00:11:21 622 Initial revision (published)