A bug in C++20 (GCC 13-64)?

Правка en2, от JaberSH1, 2024-04-23 11:30:40

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): 257826303

While it resulted in an MLE on C++20 (GCC 13-64): 257826268

The code uses linear memory and it failed on the 8th test which is only of size 10 :/

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский JaberSH1 2024-04-23 11:30:40 0 (published)
en1 Английский JaberSH1 2024-04-23 11:26:25 349 Initial revision (saved to drafts)