Spoj Problem: The Great Ball(Segment Tree Or BIT type)
can anyone give me any idea for this problem.
Problem: The Great Ball