Borderou de evaluare (job #2855486)
Utilizator | Data | 22 februarie 2022 15:17:51 | |
---|---|---|---|
Problema | Permuta | Status | done |
Runda | tp1 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:14:12: error: 'o' was not declared in this scope
14 | for(j=o;j>1;j--) a[j]=a[j-1];
| ^
main.cpp:17:12: error: 'o' was not declared in this scope
17 | for(j=o;j>2;j--) a[j]=a[j-1];
| ^
main.cpp:20:1: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
20 | for(i=1;i<=cnt;i++)
| ^~~
main.cpp:23:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
23 | return 0;
| ^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !