unordered_map VS map

Правка en1, от Adibov, 2019-01-11 21:29:40

What's wrong with unordered_map? Shouldn't be faster than map? I just submitted two solution with map and unordered_map and first one got TLE while second one got ACC. Could you please say why?

TLE: 48262291

ACC: 48262284

Even i reserved it: 48262508

Теги unordered_map

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Adibov 2019-01-11 21:29:40 318 Initial revision (published)