CSES — Hotel Queries

Revision en1, by hello_hell, 2020-06-17 10:55:38

Problem Statement : Hotel Queries

for this problem, I implemented two solutions. The first solution by using merge sort tree with simple vector and Second is by using merge sort tree with multiset. Both of the solutions are giving me TLE for 3 test cases. Could you please share a better approach.

First Solution
Second Solution
Tags cses, merge sort tree

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English hello_hell 2020-06-17 10:55:38 7553 Initial revision (published)