Skip to content

Commit

Permalink
Update 370.Range-Addition_SegTree.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wisdompeak authored Jun 6, 2022
1 parent 3fb99e6 commit c2fb413
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class SegTreeNode
}
}

void updateRangeBy(int a, int b, int val) // set range [a,b] with val
void updateRangeBy(int a, int b, int val) // increase range [a,b] by val
{
if (b < start || a > end ) // not covered by [a,b] at all
return;
Expand Down

0 comments on commit c2fb413

Please sign in to comment.