Problem | lunchbox |
---|---|
User | Maggie |
Submission Time | 2023-11-09 10:14:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
lunchbox.cpp:4:1: note: in expansion of macro ‘int’
4 | int A[60500];
| ^~~
lunchbox.cpp:4:5: error: ‘A’ does not name a type
4 | int A[60500];
| ^
lunchbox.cpp: In function ‘int32_t main()’:
lunchbox.cpp:6:8: error: ‘A’ was not declared in this scope
6 | sort (A,A + m);
| ^
lunchbox.cpp:6:14: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
6 | sort (A,A + m);
| ^
| tm
lunchbox.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
lunchbox.cpp:7:2: note: in expansion of macro ‘int’
7 | int sum = 0;
| ^~~
lunchbox.cpp:7:6: error: ‘sum’ was not declared in this scope
7 | int sum = 0;