_greymatter's blog

By _greymatter, history, 3 months ago, In English,

I've been trying to solve this problem. Facing a weird issue, I'm getting a WA on test 8, but when I run it on my computer, it gives the right answer. Link to my solution. Did anyone ever face this ?

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
3 months ago, # |
  Vote: I like it +3 Vote: I do not like it

Try unordered_map<int, int> cnt; => map<int, int> cnt;

read smth like this or this