因为一般字符串数组都是20,看到这里的一千就循环启动了(doge
#include <iostream> using namespace std; int main() { char c; while(cin>>c){ cout<<c; } } // 64 位输出请用 printf("%lld")