Problem addition
User Shuqing314
Submission Time 2025-02-14 21:35:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addition.cpp:4:13: error: expected initializer before ‘long’
4 | #define int long long;
| ^~~~
addition.cpp:6:2: note: in expansion of macro ‘int’
6 | int a = 4,b=5,c= (a+b);
| ^~~
addition.cpp:6:6: error: ‘a’ does not name a type
6 | int a = 4,b=5,c= (a+b);
| ^
addition.cpp:7:3: error: ‘cout’ does not name a type
7 | cout c;
| ^~~~
addition.cpp:8:2: error: expected unqualified-id before ‘return’
8 | return 0;
| ^~~~~~
addition.cpp:9:1: error: expected declaration before ‘}’ token
9 | }
| ^