Problem | addition |
---|---|
User | jasmine |
Submission Time | 2023-11-02 10:47:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
addition.cpp: In function ‘int main()’:
addition.cpp:4:13: error: ‘c’ was not declared in this scope
4 | cin >> str(c);
| ^
addition.cpp:4:9: error: ‘str’ was not declared in this scope; did you mean ‘std’?
4 | cin >> str(c);
| ^~~
| std
addition.cpp:5:15: error: ‘strtok’ was not declared in this scope; did you mean ‘strtoq’?
5 | int number = strtok(c, " ");
| ^~~~~~
| strtoq
addition.cpp:8:3: error: ‘total’ was not declared in this scope
8 | total = a + b;
| ^~~~~