Problem addition
User SirCTan
Submission Time 2024-12-16 19:56:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp:2:20: error: expected ‘;’ before ‘int’
2 | using namespace std
| ^
| ;
3 |
4 | int main(){
| ~~~
addition.cpp: In function ‘int main()’:
addition.cpp:5:15: error: found ‘:’ in nested-name-specifier, expected ‘::’
5 | long long a, b:
| ^
| ::
addition.cpp:5:14: error: ‘b’ has not been declared
5 | long long a, b:
| ^
addition.cpp:6:5: error: qualified-id in declaration before ‘>>’ token
6 | cin >> a >> b;
| ^~
addition.cpp:7:13: error: ‘b’ was not declared in this scope
7 | cout << a + b << end1;
| ^
addition.cpp:7:18: error: ‘end1’ was not declared in this scope
7 | cout << a + b << end1;
| ^~~~
addition.cpp:8:10: error: expected ‘;’ before ‘}’ toke