We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3727648 commit a05319eCopy full SHA for a05319e
Template/CPP_LANG/fill.cpp
@@ -7,4 +7,7 @@ main() {
7
8
vector<int>arr3(10);
9
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.
13
}
0 commit comments