| Problem | lengthsort |
|---|---|
| User | YongXin |
| Submission Time | 2023-06-02 22:42:43 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lengthsort.cpp: In function ‘int main()’:
lengthsort.cpp:7:7: error: ‘i’ was not declared in this scope
7 | for (i=0;i<n;++i) cin>>a[i];
| ^
lengthsort.cpp:8:7: error: ‘i’ was not declared in this scope
8 | for (i=0;i<n;++i){
| ^
lengthsort.cpp:9:8: error: ‘j’ was not declared in this scope
9 | for (j=0;j<n-1;++j){
| ^
lengthsort.cpp:13:7: error: ‘i’ was not declared in this scope
13 | for (i=0;i<n;++i) cout<<a[i];
| ^