Can someone explain the reason behind this?

Revision en2, by Kofler, 2022-11-13 19:16:16

Submission in C++20 — WA

Submission in C++17 — AC

The same code is giving different output in different version of C++, but what is the reason causing it?

Tags gnu c++

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Kofler 2022-11-13 19:16:16 2
en1 English Kofler 2022-11-13 19:15:45 339 Initial revision (published)