Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4ca4143

Browse files
Update range_sum.cpp
1 parent d931aab commit 4ca4143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Template/SegmentTree/range_sum.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class SegTreeNode
5858
}
5959
}
6060

61-
LL queryRange(int a, int b) // query the maximum value within range [a,b]
61+
LL queryRange(int a, int b) // query the sum over range [a,b]
6262
{
6363
if (b < start || a > end )
6464
{

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /