CSES Problem Set — Distinct Values Queries — TLE

Правка en2, от bati06, 2020-08-31 20:44:40

Hi Everyone,

I've tried to solve the CSES — Distinct Values Queries problem based on this StackOverflow answer.

Unfortunately I got TLE for my solution.

Can you guys help me, why I get TLE?

Теги #cses, #segment tree, #segmenttree

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский bati06 2020-08-31 20:44:40 13 Tiny change: 'Hi,\n\nI've ' -> 'Hi Everyone,\n\nI've ' (published)
en1 Английский bati06 2020-08-31 20:41:37 360 Initial revision (saved to drafts)