We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66bfb35 commit 7ffac19Copy full SHA for 7ffac19
verify/structures/fenwick/point_add_range_sum.test.cpp
@@ -16,7 +16,7 @@ void solve() {
16
int t, x, y;
17
cin >> t >> x >> y;
18
if(t == 0) {
19
- me.add(x, y);
+ me.update(x, y);
20
} else {
21
cout << me.range_fold(x, y) << '\n';
22
}
0 commit comments