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 504616c commit 639a991Copy full SHA for 639a991
pA/gen/gen.cpp
@@ -12,7 +12,7 @@ int main(int argc, char* argv[]) {
12
cout << n << ' ' << q << "\n";
13
14
vector<int> v;
15
- for(int i=1;i<=n;i++)v.push_back(i);
+ for(int i=1;i<n;i++)v.push_back(i);
16
shuffle( v.begin(), v.end() );
17
int it = 0;
18
0 commit comments