Borderou de evaluare (job #1977297)

Utilizator prazillaPrazilla prazilla Data 5 mai 2017 10:11:47
Problema Baloane Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:12: error: array bound is not an integer constant before ‘]’ token int b[kMaxM]; ^ user.cpp:9:26: error: array bound is not an integer constant before ‘]’ token long double prob[2][kMaxM][kMaxN + 1]; //prob[i][j] -> sansa prob i rezolvata de j echipe ^ user.cpp:9:37: error: array bound is not an integer constant before ‘]’ token long double prob[2][kMaxM][kMaxN + 1]; //prob[i][j] -> sansa prob i rezolvata de j echipe ^ user.cpp: In function ‘int main()’: user.cpp:20:11: error: ‘b’ was not declared in this scope cin >> b[i]; ^ user.cpp:21:4: error: ‘prob’ was not declared in this scope prob[0][i][0] = 1; ^ user.cpp:29:5: error: ‘prob’ was not declared in this scope prob[q][j][0] = 0; ^ user.cpp:39:8: error: ‘b’ was not declared in this scope if (b[j] >= n) s = 1; ^ user.cpp:41:42: error: ‘prob’ was not declared in this scope for (int k = 0; k <= b[j]; ++k) s += prob[n % 2][j][k]; ^

Ceva nu functioneaza?