第二题的c++输入: vector<int> arr; int n; char c; while(cin>>c){ if(c == ']') break; cin>>n; arr.push_back(n); }
3 4

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务