Borderou de evaluare (job #2627502)
Utilizator | Data | 11 iunie 2020 05:53:05 | |
---|---|---|---|
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: In function 'int search(int, int, int)':
main.cpp:31:19: error: 'pin' was not declared in this scope
if(index==pin[i])
^~~
main.cpp: In function 'nod* getTree(int, int)':
main.cpp:41:14: error: 'pre' was not declared in this scope
int root=pre[k++];
^~~
main.cpp:43:5: error: 'a' was not declared in this scope
a[root]=nou;
^
main.cpp: In function 'void afiseaza()':
main.cpp:56:16: error: 'a' was not declared in this scope
nod *x=a[i];
^
main.cpp: In function 'int main()':
main.cpp:68:12: error: 'pin' was not declared in this scope
f>>pin[i];
^~~
main.cpp:70:12: error: 'pre' was not declared in this scope
f>>pre[i];
^~~
main.cpp:72:9: warning: unused variable 'root' [-Wunused-variable]
nod*root=getTree(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 !