Problem addition
User SirCTan
Submission Time 2024-12-16 19:56:48
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:6:15: error: found ‘:’ in nested-name-specifier, expected ‘::’
6 | long long a, b:
| ^
| ::
addition.cpp:6:14: error: ‘b’ has not been declared
6 | long long a, b:
| ^
addition.cpp:7:5: error: qualified-id in declaration before ‘>>’ token
7 | cin >> a >> b;
| ^~
addition.cpp:8:13: error: ‘b’ was not declared in this scope
8 | cout << a + b << end1;
| ^
addition.cpp:8:18: error: ‘end1’ was not declared in this scope
8 | cout << a + b << end1;
| ^~~~
addition.cpp:9:10: error: expected ‘;’ before ‘}’ toke