Problem | descsort |
---|---|
User | Javel17 |
Submission Time | 2024-06-19 10:25:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
descsort.cpp: In function ‘int main()’:
descsort.cpp:5:2: error: ‘arr’ was not declared in this scope
5 | arr(5)= { 2,8,3,1,4 }
| ^~~
descsort.cpp:6:18: error: ‘i’ was not declared in this scope
6 | for (int i = 0; i < n -1; i++)
| ^
descsort.cpp:6:22: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | for (int i = 0; i < n -1; i++)
| ^
| yn
descsort.cpp:7:19: error: ‘j’ was not declared in this scope; did you mean ‘jn’?
7 | for (int j = 0; j < n-i-1; j++)
| ^
| jn