一定要记住哇 求求你了 记住吧 freopen("balabala.in","r",stdin); freopen("balabala.out","w",stdout); 转载于:https://www.cnblogs.com/darlingroot/p/10343273.html