Ask for C++17 (GCC 7-32) compiler Runtime Error

Revision en1, by tony4875, 2025-07-30 12:35:45

Hi codeforces,

Could anyone help me explain why my code got AC in C++20 and C++23 but failed in C++17?

The code is identical for all 3 submissions.
C++17 submission
C++20 submission
C++23 submission

I used C++17 on my local, so I prefer to use C++17 to submit.

Thank you.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English tony4875 2025-07-30 12:35:45 551 Initial revision (published)