Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- using namespace std;
- int rand(int a, int b) {
- return a + rand() % (b - a + 1);
- }
- void each_test_case(void) {
- }
- void generate(void){
- int t = 1;
- if (!true) {
- t = rand(1, 10000);
- cout << t << endl;
- }
- while (t--) {
- each_test_case();
- }
- }
- int main(void) {
- srand(time(0));
- int number_of_files = 2;
- for(int i = 1; i <= number_of_files; ++i) {
- char output[7] = "input_";
- output[6] = i + '0';
- freopen(output, "w", stdout);
- generate();
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement