Different Output(WA and AC) for same code on different compilers.

Правка en1, от REtoAC2001, 2021-11-26 09:24:39

In yesterday's div-3 (Round #756) I got WA on test 2 in problem C when I submitted it in GNU C++ 14 and now the same code gives AC when I submitted it in GNU C++ 17 (64 bit). Can anyone explain why this is happening? Link to Submission: WA Code(C++ 14) : https://mirror.codeforces.com/contest/1611/submission/136859793. AC Code(C++ 17-64 bit) : https://mirror.codeforces.com/contest/1611/submission/136967042. Both the codes are exactly same .

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский REtoAC2001 2021-11-26 09:24:39 498 Initial revision (published)