2d - binary indexed tree.cpp