Borderou de evaluare (job #1309262)
Utilizator | Data | 5 ianuarie 2015 16:47:27 | |
---|---|---|---|
Problema | Hacker2 | 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:5: error: ‘down’ was not declared in this scope
down[nod] = 0;
^
user.cpp:11:5: error: ‘how_down’ was not declared in this scope
how_down[nod] = -1;
^
user.cpp:12:10: error: ‘vector’ was not declared in this scope
for (vector < pair < int , int > > :: iterator it = v[nod].begin(); it != v[nod].end(); it ++)
^
user.cpp:12:19: error: ‘pair’ was not declared in this scope
for (vector < pair < int , int > > :: iterator it = v[nod].begin(); it != v[nod].end(); it ++)
^
user.cpp:12:26: error: expected primary-expression before ‘int’
for (vector < pair < int , int > > :: iterator it = v[nod].begin(); it != v[nod].end(); it ++)
^
user.cpp:12:26: error: expected ‘;’ before ‘int’
user.cpp:12:73: error: ‘it’ was not declared in this scope
for (vector < pair < int , int > > :: iterator it = v[nod].begin(); it != v[nod].end(); it ++)
^
user.cpp:12:79: error: ‘v’ was not declared in this scope
for (vector < pair < int , int > > :: iterator it = v[nod].begin(); it != v[nod].end(); it ++)
^
user.cpp:16:13: error: ‘fii’ was not declared in this scope
fii[nod].push_back (it->first);
^
user.cpp:17:13: error: ‘T’ was not declared in this scope
T[it->first] = nod;
^
user.cpp: In function ‘void solve(int)’:
user.cpp:25:9: error: ‘dp_up’ was not declared in this scope
if (dp_up[T[nod]] + D[nod] > dp_up[nod])
^
user.cpp:25:15: error: ‘T’ was not declared in this scope
if (dp_up[T[nod]] + D[nod] > dp_up[nod])
^
user.cpp:25:25: error: ‘D’ was not declared in this scope
if (dp_up[T[nod]] + D[nod] > dp_up[nod])
^
user.cpp:27:9: error: ‘how_up’ was not declared in this scope
how_up[nod] = how_up[T[nod]];
^
user.cpp:28:9: error: ‘cum_cobor’ was not declared in this scope
cum_cobor[nod] = cum_cobor[T[nod]];
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !