Problem addition
User Zosholo
Submission Time 2026-04-26 12:22:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int main()’:
addition.cpp:5:16: error: found ‘:’ in nested-name-specifier, expected ‘::’
5 | long long a, b:
| ^
| ::
addition.cpp:5:15: error: ‘b’ has not been declared
5 | long long a, b:
| ^
addition.cpp:6:6: error: qualified-id in declaration before ‘>>’ token
6 | cin >> a >> b;
| ^~
addition.cpp:7:14: error: ‘b’ was not declared in this scope
7 | cout << a + b;
| ^