multiset issue

Revision en1, by Kunal_Kashyap, 2024-06-23 16:16:08

D. In Love

in this problem i am using multiset<pair<int, int>> to store range l,r;but it gives WA on 253rd case .although when using separate multiset for both l and r it is accepted.i thought but could not come up with reason .can anyone help me with this .266946652

Tags mutliset, greedy

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Kunal_Kashyap 2024-06-23 16:16:08 350 Initial revision (published)