Spoj Problem ANDROUND

Revision en1, by starbot, 2017-07-28 17:38:50

Hello !!!

I was wondering about how can we solve this problem using BIT.

I got AC using seg tree but I also saw a comment where someone solved it using BIT.

Help would be appreciated.

Thanks.

Problem :- http://www.spoj.com/problems/ANDROUND/

Tags #fenwick tree, #trees

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English starbot 2017-07-28 17:38:50 286 Initial revision (published)