Hi everyone, ↵
↵
Can anyone explain why this code gets Wrong Answer on Test Case 2, Although the same code just deletes the map (didn't use it), it gets Accepted↵
↵
If you submitted the same code that got wrong with c++20, it will give AC but c++17 gives the wrong answer↵
↵
Code with map c++17: [submission:195842451] Wrong Answer on Test Case 2↵
↵
Code with map c++20: [submission:195842466] Accepted↵
↵
Code without map c++17: [submission:195842512] Accepted↵
↵
![ ](https://i.kym-cdn.com/entries/icons/original/000/026/489/crying.jpg)↵
Thanks↵
↵
↵
↵
Can anyone explain why this code gets Wrong Answer on Test Case 2, Although the same code just deletes the map (didn't use it), it gets Accepted↵
↵
If you submitted the same code that got wrong with c++20, it will give AC but c++17 gives the wrong answer↵
↵
Code with map c++17: [submission:195842451] Wrong Answer on Test Case 2↵
↵
Code with map c++20: [submission:195842466] Accepted↵
↵
Code without map c++17: [submission:195842512] Accepted↵
↵
![ ](https://i.kym-cdn.com/entries/icons/original/000/026/489/crying.jpg)↵
Thanks↵
↵
↵