Need help in CSES Problem set

Revision en1, by miniCoderS, 2021-01-08 15:39:50

can someone give any hint how to approach https://cses.fi/problemset/task/2169 this problem ? I've tried sorting the starting points and the ending points and tried to observe if somehow I can merge them , but couldn't find any way . Will some special data structure need for this problem ?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English miniCoderS 2021-01-08 15:39:50 323 Initial revision (published)