Borderou de evaluare (job #1046451)

Utilizator bughybv31bogdan bughybv31 Data 2 decembrie 2013 22:19:53
Problema Problema rucsacului Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4:11: error: size of array ‘a’ is too large int a[N][G]; ^ user.cpp: In function ‘int main()’: user.cpp:32:25: error: ‘a’ was not declared in this scope if (j >= g[i] - 1 || a[i - 1][j] != 0 ) ^ user.cpp:36:19: error: ‘a’ was not declared in this scope printf ("%d\n" , a[n - 1][gmax - 1]); ^

Ceva nu functioneaza?