Help with Binary Indexed Tree

Revision en1, by arrch, 2016-06-22 08:35:24

Hello cf! I am solving this problem http://www.spoj.com/problems/HORRIBLE/ . And I don't know how to implement BIT with range modification. Please help me. Thanks.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English arrch 2016-06-22 08:35:24 192 Initial revision (published)