Borderou de evaluare (job #2617723)

Utilizator andreizZenoveiov Andrei andreiz Data 22 mai 2020 18:10:42
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 function 'int create(int, int)': main.cpp:31:14: error: base operand of '->' has non-pointer type 'nod' arbore[x]->st = create(i, poz - 1); ^~ main.cpp:32:14: error: base operand of '->' has non-pointer type 'nod' arbore[x]->dr = create(poz + 1, j); ^~ main.cpp: In function 'int caut(int, int, int)': main.cpp:21:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In function 'int create(int, int)': main.cpp:33:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Non zero exit status: 1

Ceva nu functioneaza?