Doubt, Help me.

Revision en2, by prthptl14, 2020-05-22 11:17:52

Doubt When should I use unordered_map and when should I use a map in c++.In this question Div 3 #479 contest question F when I submit using unordered_map I got TLE but the same solution when I submit using a map my code accepted. Here is my solution using unordered_map and using map. Please help me.

Tags map vs unordered_map

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English prthptl14 2020-05-22 11:17:52 6 Tiny change: 'ssion/80913458). Please ' -> 'ssion/80914636). Please '
en1 English prthptl14 2020-05-22 11:15:58 479 Initial revision (published)