why does gnu c++ 17 and 20 give different results for the exact same code? (one AC one gives WA)

Правка en1, от FakeGrandmaster, 2023-03-11 08:28:09

I tried submitting a solution with the same idea as this guy for problem but I got WA test 2 but he got AC (passed system tests too). the submission: 196672015 What I noticed was if you submit the exact same code in c++17 you get an AC but c++20 you get a Wrong answer on test 2 which it should be getting (just see the case it fails on) but magically it has passed system tests!!!! Please help regarding this Mike Mirzayanov.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский FakeGrandmaster 2023-03-11 08:28:09 587 Initial revision (published)