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 :/
↵
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 :/