mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-06 04:38:48 +00:00
17 lines
305 B (Stored with Git LFS)
C++
17 lines
305 B (Stored with Git LFS)
C++
#include <cstdio>
|
|
#include <cstdlib>
|
|
#include <ctime>
|
|
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());
|
|
}
|