Can using unordered map result in TLE?

Правка en2, от ArjoKar11_01, 2024-08-09 06:34:36

https://mirror.codeforces.com/contest/1926/submission/275328157 & https://mirror.codeforces.com/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.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский ArjoKar11_01 2024-08-09 06:36:07 13 Tiny change: 'https://co' -> 'Help !!! \n\nhttps://co'
en2 Английский ArjoKar11_01 2024-08-09 06:34:36 5 Tiny change: ' which is by using ' -> ' which is done by using ' (published)
en1 Английский ArjoKar11_01 2024-08-09 06:33:48 420 Initial revision (saved to drafts)