Problem | lengthsort |
---|---|
User | theRealLucasXD |
Submission Time | 2025-05-27 18:00:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lengthsort.cpp: In function ‘int main()’:
lengthsort.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
lengthsort.cpp:14:2: note: in expansion of macro ‘int’
14 | int n, current;
| ^~~
lengthsort.cpp:14:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
14 | int n, current;
| ^
| yn
lengthsort.cpp:14:9: error: ‘current’ was not declared in this scope
14 | int n, current;
| ^~~~~~~
lengthsort.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
lengthsort.cpp:17:7: note: in expansion of macro ‘int’
17 | for (int i=0; i<n; i++) {
| ^~~
lengthsort.cpp:17:11: error: ‘i’ was not declared in this scope
17 | for (int i=0; i<n; i++) {
| ^
lengthsort.cpp:17:19: