Skip to content

Commit

Permalink
Add 13312.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiyabye committed Jun 15, 2024
1 parent 68f0ef4 commit 74539a7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions 13xxx/13312.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#include <cstdlib>
#include <iostream>
using namespace std;

void solve(void) {
const int n = 50000;
const int s = 1234;

cout << 2 * n << "\n";
srand(s);
for (int i=0; i<n; i++) cout << rand() % 1000000000 << "\n";
srand(s);
for (int i=0; i<n; i++) cout << -(rand() % 1000000000) << "\n";
}

int main(void) {
ios::sync_with_stdio(false);
cin.tie(nullptr);

solve();
return 0;
}

0 comments on commit 74539a7

Please sign in to comment.