noobwonder's blog

By noobwonder, 10 years ago, In English

Hey just studied BIT from http://community.topcoder.com/tc?module=Static&d1=tutorials&d2=binaryIndexedTrees but couldnot understand how to know to calculate tree[idx],it must be question dependent ?? So how to know what value to keep in that like was solving http://www.spoj.com/problems/MSE06H/ but could not get what value to store at the tree[idx] plzzz help guys..

Tags bit
  • Vote: I like it
  • -10
  • Vote: I do not like it