help regarding spoj problem KQUERY (using presistent segment tree)

Правка en1, от asqre756, 2021-11-24 22:05:48

I am trying to implement KQUERY from spoj using persistent segment tree CodeLink but getting WA. Unable to figure

Done it with mergeSortTree and can also be done using MO's and Fenwick tree but getting WA in persistent segment tree.

Please Help!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский asqre756 2021-11-25 08:38:00 139
en1 Английский asqre756 2021-11-24 22:05:48 387 Initial revision (published)