http://codeforces.me/contest/898/submission/33391085
The case in witch memory limit is exceeded is case 4, so the map will have 1 entry nxj->vector of all above numbers, which is not much by any means. Is there something I'm missing?
Why memory limit? 898-C
http://codeforces.me/contest/898/submission/33391085
The case in witch memory limit is exceeded is case 4, so the map will have 1 entry nxj->vector of all above numbers, which is not much by any means. Is there something I'm missing?