Borderou de evaluare (job #1337881)
Utilizator | Data | 9 februarie 2015 16:45:56 | |
---|---|---|---|
Problema | CT | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:1: error: declaration does not declare anything [-fpermissive]
int ;
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:9:5: error: ‘ap’ was not declared in this scope
ap[nod] = 1;
^
user.cpp:10:10: error: ‘vector’ was not declared in this scope
for (vector < int > :: iterator it = v[nod].begin(); it != v[nod].end(); it ++)
^
user.cpp:10:19: error: expected primary-expression before ‘int’
for (vector < int > :: iterator it = v[nod].begin(); it != v[nod].end(); it ++)
^
user.cpp:10:19: error: expected ‘;’ before ‘int’
user.cpp:10:58: error: ‘it’ was not declared in this scope
for (vector < int > :: iterator it = v[nod].begin(); it != v[nod].end(); it ++)
^
user.cpp:10:64: error: ‘v’ was not declared in this scope
for (vector < int > :: iterator it = v[nod].begin(); it != v[nod].end(); it ++)
^
user.cpp:13:13: error: ‘Q’ was not declared in this scope
Q [++nr] = nod;
^
user.cpp:13:18: error: ‘nr’ was not declared in this scope
Q [++nr] = nod;
^
user.cpp:14:13: error: ‘niv’ was not declared in this scope
niv[*it] = niv[nod] + 1;
^
user.cpp:15:13: error: ‘fii’ was not declared in this scope
fii[nod].push_back (*it);
^
user.cpp:18:5: error: ‘Q’ was not declared in this scope
Q [++nr] = nod;
^
user.cpp:18:10: error: ‘nr’ was not declared in this scope
Q [++nr] = nod;
^
user.cpp: In function ‘int best(int, int)’:
user.cpp:23:9: error: ‘niv’ was not declared in this scope
if (niv[nod1] < niv[nod2])
^
user.cpp: In function ‘void build(int, int, int)’:
user.cpp:32:9: error: ‘arb’ was not declared in this scope
arb[nod] = Q[st];
^
user.cpp:32:20: error: ‘Q’ was not declared in this scope
arb[nod] = Q[st];
^
user.cpp:41:5: error: ‘arb’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !