CodeForces 703D Mishka and Interesting sum (树状数组)
D. Mishka and Interesting sum
memory limit per test: 256 megabytes
input: standard input
output: standard output
Description
Little Mishka enjoys programming. Since her birthday has just passed, her friends decided to present her with array of non-negative integers a1, a2, …, an of n elements!