string s; while (getline(cin, s)) {     stringstream ss(s);     //解析这个ss } ctrl+z结束输入,这样应该可以的
点赞 评论

相关推荐

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