mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-26 17:12:06 +00:00
18 lines
270 B
C++
18 lines
270 B
C++
#include<cstdio>
|
|
#include<ctime>
|
|
#include<cstdlib>
|
|
using namespace std;
|
|
int N=1e9;
|
|
int Rand()
|
|
{
|
|
int x=rand();
|
|
return (x*rand()+rand())%N+1;
|
|
}
|
|
int main()
|
|
{
|
|
freopen("data10.in","w",stdout);
|
|
srand(time(0));
|
|
printf("%d %d %d",Rand(),Rand(),Rand());
|
|
}
|
|
|