Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

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

Revision en1, by anupam, 2020-05-01 17:19:50

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!

Tags c++17, #wronganswer, lcm, c++14 vs c++17

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English anupam 2020-05-01 17:21:45 2 Tiny change: 'test 61)\nGNU C++1' -> 'test 61)\n\nGNU C++1'
en2 English anupam 2020-05-01 17:21:01 4
en1 English anupam 2020-05-01 17:19:50 666 Initial revision (published)