| Problem | addition |
|---|---|
| User | lohjo02 |
| Submission Time | 2026-07-07 10:26:41 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
addition.cpp:3:21: error: expected ‘)’ before ‘;’ token
3 | #define ll long long;
| ^
addition.cpp:5:9: note: in expansion of macro ‘ll’
5 | int add(ll a, ll b){
| ^~
addition.cpp:5:8: note: to match this ‘(’
5 | int add(ll a, ll b){
| ^
addition.cpp:5:12: error: ‘a’ does not name a type
5 | int add(ll a, ll b){
| ^
addition.cpp:5:18: error: ‘b’ does not name a type
5 | int add(ll a, ll b){
| ^
addition.cpp: In function ‘int main()’:
addition.cpp:3:17: error: declaration does not declare anything [-fpermissive]
3 | #define ll long long;
| ^~~~
addition.cpp:10:2: note: in expansion of macro ‘ll’
10 | ll a, b;
| ^~
addition.cpp:10:5: error: ‘a’ was not declared in this scope
10 | ll a, b;
| ^
addition.cpp:10:8: error: ‘b’ was not declared in this scope<