现在我要生成一些数据,原题每个数据里多组数据,求助怎么生成,测试过:
while(t--){ freopen("1.in","w",stdout); ... freopen("1.out","w",stdout); }
生成的不对,把每一组输入都存下来空间不够,求助QAQ