Borderou de evaluare (job #2898153)
Utilizator | Data | 6 mai 2022 11:14:23 | |
---|---|---|---|
Problema | Curatenie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void arbore(int, int, int)':
main.cpp:17:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
17 | if(fv[rad[indice_radacina]]<fv[rad[parinte]] && fv[rad[indice_radacina]]>limita_stanga)
| ^~
main.cpp:19:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
19 | arbore(limita_stanga,fv[rad[parinte]],indice_radacina);
| ^~~~~~
main.cpp: At global scope:
main.cpp:29:1: error: expected declaration before '}' token
29 | }
| ^
main.cpp: In function 'int main()':
main.cpp:42:22: error: 'f' was not declared in this scope
42 | for(i=1;i<=n;i++)f>>rad[i];
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !