Problem | addition |
---|---|
User | shannen |
Submission Time | 2024-06-24 14:24:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
addition.cpp: In function ‘int main()’:
addition.cpp:5:5: error: redeclaration of ‘int a’
5 | int a=b;
| ^
addition.cpp:4:5: note: ‘int a’ previously declared here
4 | int a=1;
| ^
addition.cpp:5:7: error: ‘b’ was not declared in this scope
5 | int a=b;
| ^
addition.cpp: At global scope:
addition.cpp:8:1: error: expected unqualified-id before ‘return’
8 | return 0;
| ^~~~~~
addition.cpp:9:1: error: expected declaration before ‘}’ token
9 | }
| ^