In codeforces Educational Codeforces Round 123, C question (Increase Subarray Sum) , problem link :- https://codeforces.net/contest/1644/problem/C . i was getting TLE when i was using maps for hashing , but when i use vector for hashing for same code the solution got accepted . can anyone tell me why??