Difference in output on codeforces in C++

Правка en1, от malviyanshiv, 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 ?

Теги c++, #538 div2

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский malviyanshiv 2019-02-11 00:11:21 622 Initial revision (published)