NEED HELP IN A PROBLEM

Revision en1, by javacoder1, 2015-11-18 01:51:40

I was trying to solve subsequences http://codeforces.net/problemset/problem/597/C of Testing Round #12 but could not figure out the solution.Can anyone explain the solution using binary indexed tree.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English javacoder1 2015-11-18 01:51:40 225 Initial revision (published)