miniCoderS's blog

By miniCoderS, history, 4 years ago, In English

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 ?

  • Vote: I like it
  • +1
  • Vote: I do not like it

»
4 years ago, # |
  Vote: I like it +1 Vote: I do not like it

I have solved this problem yesterday.

Hint1
Hint2
Hint3