12 D — Ball

Revision en2, by lllAlonsolll, 2016-05-09 02:54:19

Hi guys! Can someone explain me please, how to use BIT in this problem? http://codeforces.net/problemset/problem/12/D I've seen that some contestants has solved it using BIT but I didn't understand how they do. Thanks in advance! :)

Tags binary indexed tree

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English lllAlonsolll 2016-05-10 05:50:41 0 (published)
en2 English lllAlonsolll 2016-05-09 02:54:19 7 (saved to drafts)
en1 English lllAlonsolll 2016-05-09 02:51:02 240 Initial revision (published)