C++复制#include <bits/stdc++.h> using namespace std; int main(){ freopen("data.txt","r",stdin); freopen("test.txt","w",stdout); //待验证的代码;。。。。 cout<<2; return 0; }