In short, I have a vector<vector<int>>a(n); The sort function is sort(a.begin(),a.end(),[&](autoa1,autoa2){return(a1.back()<a2.back());}); Instead of sorting, create a map to store the position of albums with each maximum coolnesspass I didn't know about this, so I'...
I've just discovered this question on Quora: What is the story behind your username at CodeForces?. I guess it'd be pretty interesting to hear stories from top participants. For instance, my handle's history is already described there. This blog is dedicated to everyone who don't have ...