文件读入

freopen("t.in","r",stdin);
freopen("t2.out","w",stdout);
原文地址:https://www.cnblogs.com/yesuweiYYYY/p/13808522.html