Problem sumint
User NuggetsAreNice
Submission Time 2024-03-19 10:35:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:3:17: error: declaration does not declare anything [-fpermissive]
3 | #define ll long long;
| ^~~~
sumint.cpp:8:2: note: in expansion of macro ‘ll’
8 | ll n;
| ^~
sumint.cpp:8:5: error: ‘n’ was not declared in this scope
8 | ll n;
| ^
sumint.cpp:3:17: error: declaration does not declare anything [-fpermissive]
3 | #define ll long long;
| ^~~~
sumint.cpp:10:2: note: in expansion of macro ‘ll’
10 | ll num = 0;
| ^~
sumint.cpp:10:5: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
10 | ll num = 0;
| ^~~
| enum
sumint.cpp:3:17: error: declaration does not declare anything [-fpermissive]
3 | #define ll long long;
| ^~~~
sumint.cpp:11:2: note: in expansion of macro ‘ll’
11 | ll number;
| ^~
sumint.cpp: