EXAM in BersU (hard Version) TLE at 26 case help with the MULTISET

Revision en3, by indsonu, 2019-06-21 11:23:43

hi guys i was trying to use multiset to reduce its complexity almost to n^2 but couldnt do so. what i was trying to do is checking the previous ones it was sorted in multiset then taking out left ones i need help!! here is my code->> https://codeforces.com/contest/1185/submission/55820062

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English indsonu 2019-06-21 11:23:43 23
en2 English indsonu 2019-06-21 10:46:38 107
en1 English indsonu 2019-06-21 10:44:55 229 Initial revision (published)