Borderou de evaluare (job #1037493)

Utilizator IonSebastianIon Sebastian IonSebastian Data 20 noiembrie 2013 12:10:02
Problema Lupul Urias si Rau Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void coboara(int)’: user.cpp:33:35: error: request for member ‘lana’ in ‘h[poz]’, which is of non-class type ‘int’ if(2*poz + 1 <= nre && h[poz].lana > h[2*poz+1].lana && h[2*poz+1].lana <= h[2*poz]){ ^ user.cpp:33:53: error: request for member ‘lana’ in ‘h[((poz * 2) + 1)]’, which is of non-class type ‘int’ if(2*poz + 1 <= nre && h[poz].lana > h[2*poz+1].lana && h[2*poz+1].lana <= h[2*poz]){ ^ user.cpp:33:72: error: request for member ‘lana’ in ‘h[((poz * 2) + 1)]’, which is of non-class type ‘int’ if(2*poz + 1 <= nre && h[poz].lana > h[2*poz+1].lana && h[2*poz+1].lana <= h[2*poz]){ ^ user.cpp:39:35: error: request for member ‘lana’ in ‘h[poz]’, which is of non-class type ‘int’ if(2*poz <= nre && h[poz].lana > h[2*poz].lana){ ^ user.cpp:39:51: error: request for member ‘lana’ in ‘h[(poz * 2)]’, which is of non-class type ‘int’ if(2*poz <= nre && h[poz].lana > h[2*poz].lana){ ^

Ceva nu functioneaza?