Problem | addition |
---|---|
User | estkn |
Submission Time | 2025-02-21 15:02:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cc1plus: error: ‘::main’ must return ‘int’
addition.cpp: In function ‘int main()’:
addition.cpp:3:13: error: expected primary-expression before ‘long’
3 | #define int long long
| ^~~~
addition.cpp:12:9: note: in expansion of macro ‘int’
12 | return int;
| ^~~
addition.cpp:12:8: error: expected ‘;’ before ‘long’
12 | return int;
| ^
| ;
addition.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long
| ^~~~
addition.cpp:12:9: note: in expansion of macro ‘int’
12 | return int;
| ^~~