C++复制#include<bits/stdc++.h> using namespace std; int main(){ freopen("filename.in","r",stdin); freopen("filename.out","w",stdout); return 0; }