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 a05319e

Browse files
Update fill.cpp
1 parent 3727648 commit a05319e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎Template/CPP_LANG/fill.cpp‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ main() {
77

88
vector<int>arr3(10);
99
fill(arr3.begin(), arr3.end(), 3);
10+
11+
int low[n+10][K+10]; memset(low, 0x3f, sizeof(low)); // set 0x3f3f3f3f for all. This is a big positive number
12+
int upp[n+10][K+10]; memset(upp, 0xcf, sizeof(upp)); // set 0xcfcfcfcf for all. This is a big negative number.
1013
}

0 commit comments

Comments
(0)

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