why my code is giving tle?

Revision en2, by baka-coder, 2024-06-05 10:25:59

264207144 https://codeforces.net/contest/1980/submission/264207144

when I use unordered map its giving TLE. whereas

264218228 https://codeforces.net/contest/1980/submission/264218228 when I use map instead of unordered map in same code its not giving TLE and get accepetd

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)