Problem addition
User ZiErn
Submission Time 2023-11-08 10:30:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp: In function ‘int32_t main()’:
addition.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
addition.cpp:6:9: note: in expansion of macro ‘int’
6 | cin >> int a;
| ^~~
addition.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
addition.cpp:7:9: note: in expansion of macro ‘int’
7 | cin >> int b;
| ^~~
addition.cpp:8:10: error: ‘a’ was not declared in this scope
8 | cout << a + b;
| ^
addition.cpp:8:14: error: ‘b’ was not declared in this scope
8 | cout << a + b;
| ^