binary indexed tree--spoj

Revision en1, by vsanjay_nitdgp, 2015-08-25 14:00:11

sir,,,i have just learnt how BIT works.....

i was trying to impliment the same for this problem :http://www.spoj.com/problems/HAYBALE/

but,i couldnt get idea how to do it,,,,,could anyone pls help me how to approach this problem using BIT..

thanks in advance.

Tags data structures

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English vsanjay_nitdgp 2015-08-25 14:00:11 293 Initial revision (published)