//#pragma GCC optimize(2)
#include<iostream>
#include<iomanip>
#include<cstdio>
#include<string>
#include<algorithm>
#include<cmath>
#include<queue>
#include<vector>
#include<map>
#include<stack>
#include<set>
#include<bitset>
#include<ctime>
#include<cstring>
#include<list>
#include<fstream>
#include <random>
#define int long long
#define ull unsigned long long
#define INF 0x3f3f3f3f
#define mem(a,b) memset(a,b,sizeof(a))
using namespace std;
typedef pair<int, int> PII;
const int N = 1e6 + 7;
void solve()
{
int t = 1; //测试样例的数量
int n, m; //m<=x<=n,确定数据范围
n = 1e9+7;
m = 1e8 + 7;
std::random_device rd;
std::mt19937_64 eng(rd());
std::uniform_int_distribution<unsigned long long> distr(m,n);
while (t < 100)
{
string fileName1 = "", fileName2 = ""; //两个文件的名字与位置
fileName1 += "D:\\题目数据\\stringcin\\"; //文件位置
string tmp = to_string(t); //int 转string
fileName1 += tmp; //数据编号
fileName1 += ".in"; //加上后缀
fileName2 += "D:\\题目数据\\stringcin\\";
fileName2 += tmp;
fileName2 += ".out";
int x = distr(eng); //随机数
ofstream lout(fileName1.c_str());//将fileName转化为c型字符串作为文件名
ofstream rout(fileName2.c_str());
lout << x << " " << x + 2 << endl; //往文件里加东西
rout << x + 2 << " " << x << endl;
t++;
}
}
signed main()
{
//std::ios::sync_with_stdio(false);
//cin.tie(0), cout.tie(0);
solve();
return 0;
}
01-10
437
09-03
1275