freopen("input.txt","r",stdin); freopen("output.txt","w",stdout); 转载于:https://www.cnblogs.com/vocaloid01/p/9514062.html