Problem | descsort |
---|---|
User | Yvonne |
Submission Time | 2024-06-19 14:12:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
descsort.cpp: In function ‘int main()’:
descsort.cpp:8:21: error: request for member ‘i’ in ‘n’, which is of non-class type ‘int’
8 | for( int i=0; i<n. i++){
| ^
descsort.cpp:8:24: error: expected ‘;’ before ‘)’ token
8 | for( int i=0; i<n. i++){
| ^
| ;
descsort.cpp:9:16: error: expected ‘;’ before ‘}’ token
9 | cin >> arr[i]
| ^
| ;
10 | }
| ~
descsort.cpp:12:14: error: expected ‘;’ before numeric constant
12 | for( int i=n 1; i>0; i++){
| ^~
| ;
descsort.cpp:12:21: error: expected ‘)’ before ‘;’ token
12 | for( int i=n 1; i>0; i++){
| ~ ^
| )
descsort.cpp:12:23: error: ‘i’ was not declared in this scope
12 | for( int i=n 1; i>0; i