Segment Tree Question TLE on CSES

Правка en2, от this_ability, 2025-08-11 15:40:49

Salary Queries — My solutionI am still stuck at Salary Queries. Although acc to me I have followed your approach to the answer only, but I am getting TLE on CSES with some test cases getting accepted. I have tried to debug my code but I still feel it should have a T.C. less than 1e8. Can anybody help? (I have used map as well but tle)

Теги segment tree, time limit exceeded, help me, cses

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский this_ability 2025-08-11 15:40:49 2526
en1 Английский this_ability 2025-08-11 15:38:50 2645 Initial revision (published)