生成某个范围的随机数、输入文件、输出文件
//生成46~70的随机整数;
int rand_num = rand()%25+46
//生成1e9~2e9的随机整数
int rand_num = rand()%(1e9+1)+1e9
//生成46~70的随机整数;
//int rand_num = rand()%25+46
//生成1e9~2e9的随机整数
//int rand_num = rand()%(1e9+1)+1e9
#include <bits/stdc++.h>
using namespace std;
long long a, b, c, temp=1e9;
int main()
{
freopen("1.in", "w", stdout);
srand((int)time(0));
a=rand()%(temp+1)+temp;
b=rand()%(temp+1)+temp;
// a=rand()%temp+1; //生成0~temp的随机整数
c=a+b;
cout << a << " " << b;
freopen("1.out", "w", stdout);
cout << c;
return 0;
}