Borderou de evaluare (job #1507981)

Utilizator CiurezAndreiCiurez Marius-Andrei CiurezAndrei Data 22 octombrie 2015 10:19:47
Problema Ciclu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:11:21: error: two or more data types in declaration of ‘cautare_binara’ void cautare_binara() ^ user.cpp: In function ‘int BF(int)’: user.cpp:34:25: error: ‘N’ was not declared in this scope for(int i = 1; i <= N; i ++) ^ user.cpp:36:9: error: ‘D’ was not declared in this scope D[i] = inf; ^ user.cpp:36:16: error: ‘inf’ was not declared in this scope D[i] = inf; ^ user.cpp:37:9: error: ‘v’ was not declared in this scope v[i] = 0; ^ user.cpp:38:9: error: ‘q’ was not declared in this scope q[i] = 0; ^ user.cpp:39:9: error: ‘E’ was not declared in this scope E[i] = 0; ^ user.cpp:43:5: error: ‘D’ was not declared in this scope D[1] = 0; ^ user.cpp:44:5: error: ‘v’ was not declared in this scope v[1] = 1; ^ user.cpp:47:12: error: ‘q’ was not declared in this scope v[ q[p] ] = 1; ^ user.cpp:48:29: error: ‘L’ was not declared in this scope for(int i = 0; i <= L[ q[p] ].size(); i ++) ^ user.cpp:58:21: error: ‘E’ was not declared in this scope E[ q[p] ]++; ^ user.cpp:59:38: error: ‘n’ was not declared in this scope if (E[ q[p] ] == n) ^ user.cpp: In function ‘int main()’: user.cpp:77:12: error: ‘N’ was not declared in this scope fin >> N >> M; ^ user.cpp:77:17: error: ‘M’ was not declared in this scope fin >> N >> M; ^ user.cpp:81:16: error: ‘x’ was not declared in this scope fin >> x >> y >> c; ^

Ceva nu functioneaza?