已解决 张灵 高级守护 #include <iostream> #include <cstdio> using namespace std; int main(){ freopen("4840.in","r",stdin); freopen("4840.out","w",stdout); string n; cin>>n; for(int i=1;i<=8-n.size();i++)cout<<1; cout<<n; fclose(stdin); fclose(stdout); return 0; } 请问4840怎么做?