Yesterday , I gave contest round 702 div3 .
Problem F
Solution 1(https://mirror.codeforces.com/contest/1490/submission/107661957)
Solution 2(https://mirror.codeforces.com/contest/1490/submission/107661859)
In Solution1 I used unordered_map which gave me tle and than i used map in solution 2 it didn't.
Can anyone explain how does unordered_map gave tle and map won't?