Problem | motivation |
---|---|
User | TheFelixKS |
Submission Time | 2024-02-13 14:29:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
motivation.cpp: In function ‘int main()’:
motivation.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
motivation.cpp:10:2: note: in expansion of macro ‘int’
10 | int n;
| ^~~
motivation.cpp:10:6: error: ‘n’ was not declared in this scope
10 | int n;
| ^
motivation.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
motivation.cpp:13:2: note: in expansion of macro ‘int’
13 | int total = 0;
| ^~~
motivation.cpp:13:6: error: ‘total’ was not declared in this scope
13 | int total = 0;
| ^~~~~
motivation.cpp:4:18: error: declaration does not declare anything [-fpermissive]
4 | #define int long long;
| ^~~~
motivation.cpp:14:2: note: in expansion of macro ‘int’
14 | int r* = new int[n]