Segment tree or Fenwick?

Problem Name:
Segment tree or Fenwick?
Site:CodeForces
Links:
Tags:
Problem setters: