221D — Little Elephant and Array

Правка en1, от Tribbiani, 2015-08-27 22:52:01

I've solved this problem using sqrt decomposition. but how can i solve it using segment tree?

Thanks in advance :)

Теги data structures

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Tribbiani 2015-08-27 22:52:01 202 Initial revision (published)