Problem | addition |
---|---|
User | ryuki |
Submission Time | 2024-02-28 10:12:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
addition.cpp: In function ‘int main()’:
addition.cpp:5:16: error: expected primary-expression before ‘numbers’
5 | cin >> string numbers;
| ^~~~~~~
addition.cpp:7:10: error: ‘numbers’ was not declared in this scope
7 | int a = numbers.substr(0, numbers.find(' '));
| ^~~~~~~