I need some help with this problem...

Правка en1, от PoisonousPython, 2017-02-06 02:19:25

Hi! First off, I just wanted to ask if this problem is solvable using segment trees: http://codeforces.com/problemset/problem/52/C

I wrote a solution which uses segment trees but it gives me TLE on test 8. Can you please give me a hint at least? That would be quite helpful. Thanks!

Теги segment trees, rmq, tle, data structure

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский PoisonousPython 2017-02-06 02:20:30 76
en1 Английский PoisonousPython 2017-02-06 02:19:25 324 Initial revision (published)