#include <iostream>
#include <algorithm>
#include <cstring>
#include <ctime>
#include <string>
#include <sstream>
#include <fstream>
using namespace std;
const int GROUP_NUM = 10;
string getname(int i, string a)
{
stringstream ss;
ss << i << a;
return ss.str();
}
fstream fp1, fp2;
void make_date()
{
}
int main(void)
{
srand((unsigned)time(NULL));
for(int ce = 1; ce <= GROUP_NUM; ce++)
{
string name1, name2;
name1 = getname(ce, ".in");
name2 = getname(ce, ".out");
fp1.open(name1, ios::out);
fp2.open(name2, ios::out);
make_date();
fp1.close();
fp2.close();
}
return 0;
}
造数据模板
最新推荐文章于 2025-01-24 16:46:00 发布
1197

被折叠的 条评论
为什么被折叠?



