in this problem when I used an unordered map I got TLE and used the same solution with map I got ACC I need an explanation, please
- solution with unordered map https://mirror.codeforces.com/contest/1790/submission/191038498
- solution with map https://mirror.codeforces.com/contest/1790/submission/191038420
I really appreciate any help you can provide.