造数据:
#include<bits/stdc++.h>
using namespace std;
int main()
{
freopen("in.txt","w",stdout);
srand(time(NULL));
/*
写需要输出的数据
*/
return 0;
}
测试数据
#include<bits/stdc++.h>
using namespace std;
int main()
{
freopen("in.txt","r",stdin);
freopen("out1.txt","w",stdout);
/*
写待测程序
*/
return 0;
}