CSES — Hotel Queries

Правка en1, от 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
Теги cses, merge sort tree

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский hello_hell 2020-06-17 10:55:38 7553 Initial revision (published)