FENWICK APPROACH FOR THOR PROBLEM LISTED ON CP ALGORITHMS

Revision en1, by practice_20, 2022-06-07 16:03:11

I have been trying to solve this problem using fenwick tree but I got stuck on 3rd type of query how to implement using BIT can anyone please help me in proceeding further or tell your complete approach.

problem link : https://mirror.codeforces.com/problemset/problem/704/A

Tags data structures

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English practice_20 2022-06-07 16:03:11 328 Initial revision (published)