An unordered_map issue

Правка en1, от KP56, 2022-06-06 11:02:39

I don't have a lot of experience with c++, but decided to give it a try since I heard it's very good for competitions. My code when used with an older compiler gives a wrong answer and with the new one the solution is correct, but it fails due to a runtime error in test 2. I couldn't find any issue in my code. Am I missing something?

https://codeforces.com/submissions/KP56

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский KP56 2022-06-06 11:02:39 400 Initial revision (published)