数据量特别大时将结果产生的表打入txt文件 int main() { freopen("test.in","r",stdin); freopen("test.out","w",stdout); ... return 0;}