Problem addition
User Ningja01
Submission Time 2026-06-22 14:21:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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