getline即可Wonder of U2025-08-09 18:58:57发布于:江苏3阅读0回复0点赞这题不能用cin,要用getline #include<bits/stdc++.h> using namespace std; string s; int main() { getline(cin,s); cout << s; return 0; } 有帮助,赞一个去预览0/2000发布这里空空如也
有帮助,赞一个