Can using unordered map result in TLE?
Difference between en2 and en3, changed 13 character(s)
Help !!! ↵

https://codeforces.net/contest/1926/submission/275328157 & https://codeforces.net/contest/1926/submission/275328315 both these code correspond to the same logic, the difference is just in using map and unordered map, But first one, which is done by using unordered map results in TLE. But why? As far as I knew unordered_map requires lesser TC w.r.t map. Kindly correct me if I am wrong.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English ArjoKar11_01 2024-08-09 06:36:07 13 Tiny change: 'https://co' -> 'Help !!! \n\nhttps://co'
en2 English ArjoKar11_01 2024-08-09 06:34:36 5 Tiny change: ' which is by using ' -> ' which is done by using ' (published)
en1 English ArjoKar11_01 2024-08-09 06:33:48 420 Initial revision (saved to drafts)