why my code is giving tle?
Difference between en2 and en3, changed 62 character(s)
[submission:264207144]↵
https://codeforces.net/contest/1980/submission/264207144↵



wWhen I use unordered _map, its givinges TLE.
whereas 
 ↵




[submission:264218228]↵
https://codeforces.net/contest/1980/submission/264218228↵





However, 
when I use map instead of unordered _map in the same code, it does not givinge TLE and gets accepetdted.↵

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English baka-coder 2024-06-05 10:27:43 62
en2 English baka-coder 2024-06-05 10:25:59 10
en1 English baka-coder 2024-06-05 10:25:24 332 Initial revision (published)