Borderou de evaluare (job #2752451)
Utilizator | Data | 18 mai 2021 00:25:18 | |
---|---|---|---|
Problema | Arbori binari de cautare echilibrati | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'long long int ArboreRN::caz5(const long long int&)':
main.cpp:347:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(aux==NULL)
^~
main.cpp:349:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
return aux->val;
^~~~~~
main.cpp: At global scope:
main.cpp:352:8: error: prototype for 'void ArboreRN::caz6(Nod*&, const long long int&, const long long int&)' does not match any in class 'ArboreRN'
void ArboreRN::caz6(Nod* &aux,const long long &x,const long long &y)
^~~~~~~~
main.cpp:67:11: error: candidate is: void ArboreRN::caz6(Nod*&, long long int&, long long int&)
void caz6(Nod *&,long long &x,long long &y);
^~~~
main.cpp: In function 'int main()':
main.cpp:377:14: warning: unused variable 'radacina' [-Wunused-variable]
ArboreRN a, *radacina = NULL;
^~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !