vector<int> nums; int a; while(cin >> a) {     nums.push_back(a); if(cin.get()=='\n') break; }</int>