StringStream

  • + 0 comments

    include

    include

    include

    using namespace std;

    vector parseInts(string str) { // Complete this function vector result ; string digit ; int value; for (int i = 0 ;i

    int main() { string str; cin >> str; vector integers = parseInts(str); for(int i = 0; i < integers.size(); i++) { cout << integers[i] << "\n"; }

    return 0;
    

    }