Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

Same code got Wrong Answer with C++17 but Accepted with C++14

Правка en3, от anupam, 2020-05-01 17:21:45

Initially I use GNU C++17 when I submit codes. I submitted code for 235A — LCM Challenge and got WA on test 61 using GNU C++17. Then again I submitted the same code in GNU C++14 and got Accepted. My submissions are here,

GNU C++17: 78659557 (Wrong answer on test 61)

GNU C++14: 78659665 (Accepted)

I found no explanation of it and thinking about what if it happened in contest time. Can you suggest me any reason? Thank you so much!

Теги c++17, #wronganswer, lcm, c++14 vs c++17

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский anupam 2020-05-01 17:21:45 2 Tiny change: 'test 61)\nGNU C++1' -> 'test 61)\n\nGNU C++1'
en2 Английский anupam 2020-05-01 17:21:01 4
en1 Английский anupam 2020-05-01 17:19:50 666 Initial revision (published)