Problem | nerdinvitation |
---|---|
User | CastyLoz17 |
Submission Time | 2024-08-08 12:44:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
nerdinvitation.cpp: In function ‘int main()’:
nerdinvitation.cpp:9:21: error: expected primary-expression before ‘result’
9 | vector<int> result;
| ^~~~~~
nerdinvitation.cpp:9:21: error: expected ‘}’ before ‘result’
nerdinvitation.cpp:8:20: note: to match this ‘{’
8 | auto getinp = {
| ^
nerdinvitation.cpp:9:21: error: unable to deduce ‘std::initializer_list<auto>’ from ‘{<expression error>}’
9 | vector<int> result;
| ^~~~~~
nerdinvitation.cpp:9:21: error: expected ‘,’ or ‘;’ before ‘result’
nerdinvitation.cpp:12:31: error: variable ‘std::istringstream iss’ has initializer but incomplete type
12 | istringstream iss(line);
| ^
nerdinvitation.cpp:15:13: error: ‘result’ was not declared in this scope
15 | result.push_back(number);
|