Skip to content

Commit a05319e

Browse files
authored
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)