-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsinhtest.cpp
More file actions
36 lines (28 loc) · 816 Bytes
/
sinhtest.cpp
File metadata and controls
36 lines (28 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#include <bits/stdc++.h>
using namespace std;
mt19937 rd(chrono::steady_clock::now().time_since_epoch().count());
long long Rand(long long l, long long r)
{
return l + rd() * rd() * 1LL % (r - l + 1);
}
const long long INF = 1e9 + 10;
long long x, y;
int main()
{
freopen("D:\\CODE\\CP\\in.txt", "w", stdout);
int m = 1e5;
int n = 40;
x = Rand(-1e9,1e9); y = Rand(-1e9,1e9);
cout << n << " " << m << "\n";
for (int i = 1; i <= n; i++)
{
cout << Rand(1,1e5) << " " << Rand(1,1e8) << "\n";
}
// string NAME = "_cp";
// system((NAME + ".exe").c_str());
// NAME = "_trau";
// system((NAME + ".exe").c_str());
// NAME = "out";
// if (system(("fc " + NAME + ".txt" + "ans.txt").c_str()) != 0) cout << "Wrong\n";
// else cout << "Correct\n";
}