int n; cin >> n; vector<vector<string>> nums(n, vector<string>()); for (int i = 0; i < n; i++){ string temp = ""; while (cin >> temp ){ nums[i].push_back(temp); if (getchar() == '\n') break; } }
1 1

相关推荐

牛客网
牛客企业服务