Borderou de evaluare (job #2250623)
Utilizator | Data | 30 septembrie 2018 15:05:12 | |
---|---|---|---|
Problema | Grarb | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:12:38: error: expected initializer before ‘]’ token
int n, m, i, a, b, cc, c[DIM], v[DIM]];
^
user.cpp: In function ‘void bfs(int, int)’:
user.cpp:16:13: error: ‘u’ was not declared in this scope
int p = u = 1, nod, k;
^
user.cpp:18:5: error: ‘v’ was not declared in this scope
v[start] = comp;
^
user.cpp:20:9: error: ‘nod’ was not declared in this scope
nod = c[p];
^~~
user.cpp:22:13: error: ‘k’ was not declared in this scope
k = L[nod][i];
^
user.cpp: In function ‘int main()’:
user.cpp:41:13: error: ‘v’ was not declared in this scope
if (v[i] == 0){
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !