Borderou de evaluare (job #2627507)
Utilizator | Data | 11 iunie 2020 05:58:11 | |
---|---|---|---|
Problema | Curatenie | Status | done |
Runda | Teme Pregatire ACM Unibuc 2013 Semestrul 2 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:12:1: error: 'nod' does not name a type
nod* noduri[500001];
^~~
main.cpp: In function 'nod* arbore(int, int)':
main.cpp:43:5: error: 'noduri' was not declared in this scope
noduri[root]=nou;
^~~~~~
main.cpp: In function 'void afiseaza()':
main.cpp:56:16: error: 'noduri' was not declared in this scope
nod *x=noduri[i];
^~~~~~
main.cpp: In function 'int main()':
main.cpp:72:9: warning: unused variable 'root' [-Wunused-variable]
nod*root=arbore(0,n-1);
^~~~
main.cpp: In function 'int search(int, int, int)':
main.cpp:33:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !