Borderou de evaluare (job #1769858)

Utilizator DobosDobos Paul Dobos Data 3 octombrie 2016 11:57:56
Problema Calatorie interplanetara Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:14:4: error: ‘nmax’ was not declared in this scope }V[nmax]; ^ user.cpp: In function ‘void calatorie(int, int, var)’: user.cpp:23:19: error: ‘V’ was not declared in this scope D[j + V[i].h] = max(D[j] + V[i].n , D[j + V[i].h]); ^ user.cpp:32:9: error: ‘B’ was not declared in this scope B[i] = 0; ^ user.cpp: In function ‘int main()’: user.cpp:53:20: error: ‘V’ was not declared in this scope fin >> V[i].n >> V[i].h; ^

Ceva nu functioneaza?