Borderou de evaluare (job #1277131)

Utilizator cristibogdanPatrascu Cristian cristibogdan Data 27 noiembrie 2014 10:21:41
Problema Cuburi3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:25:17: error: ‘best’ was not declared in this scope best[i]=v[i].l; ^ user.cpp:25:30: error: ‘struct cu’ has no member named ‘l’ best[i]=v[i].l; ^ user.cpp:26:18: error: no match for ‘operator[]’ (operand types are ‘cu’ and ‘int’) c[i]=1;} ^ user.cpp:27:17: error: ‘j’ was not declared in this scope for(j=i-1;j>=1;j--) ^ user.cpp:28:25: error: ‘struct cu’ has no member named ‘g’ if(v[i].g<=v[j].g&&best[i]<best[j]+v[i].l){ ^ user.cpp:28:36: error: ‘best’ was not declared in this scope if(v[i].g<=v[j].g&&best[i]<best[j]+v[i].l){ ^ user.cpp:28:57: error: ‘struct cu’ has no member named ‘l’ if(v[i].g<=v[j].g&&best[i]<best[j]+v[i].l){ ^ user.cpp:29:42: error: ‘struct cu’ has no member named ‘l’ best[i]=best[j]+v[i].l; ^ user.cpp:30:17: error: ‘poz’ was not declared in this scope poz[i]=j;} ^ user.cpp:34:1: error: expected ‘}’ at end of input } ^

Ceva nu functioneaza?