Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

A bug in C++20 (GCC 13-64)?
Difference between en1 and en2, changed 0 character(s)
The same solution was submitted in both C++17 (GCC 7-32) & C++20 (GCC 13-64).↵
↵
AC submission passed with 0 KB on C++17 (GCC 7-32):↵
[submission:257826303]↵
↵
While it resulted in an MLE on C++20 (GCC 13-64):↵
[submission:257826268]↵
↵
The code uses linear memory and it failed on the 8th test which is only of size 10 :/

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English JaberSH1 2024-04-23 11:30:40 0 (published)
en1 English JaberSH1 2024-04-23 11:26:25 349 Initial revision (saved to drafts)