数据生成器(别人的)
t是数据点个数,s是从那个数据点开始
//makedata.h 2020.12.15
#include<bits/stdc++.h>
using namespace std;
ofstream infile,outfile;
int times=100,s=0;
void file(int tp){
char inname[10],outname[11];
infile.close();
outfile.close();
sprintf(inname,"game%02d.in",tp+s);
sprintf(outname,"game%02d.out",tp+s);
infile.open(inname);
outfile.open(outname);
}
#define num(a,b) ((rand()*RAND_MAX+rand())%(a-b+1)+a)
int make(int tp){
}
int main(){
srand(time(0));
for(int tp=1;tp<=times;++tp){
file(tp);
make(tp);
}
return 0;
}