Borderou de evaluare (job #1549429)
Utilizator | Data | 12 decembrie 2015 12:22:26 | |
---|---|---|---|
Problema | Plan | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfs1(int)’:
user.cpp:15:5: error: ‘viz’ was not declared in this scope
viz[nod]=1;
^
user.cpp:17:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<a[nod].size(); ++i)
^
user.cpp:18:43: error: ‘dfs’ was not declared in this scope
if (!viz[a[nod][i]]) dfs(a[nod][i]);
^
user.cpp:19:5: error: ‘st’ was not declared in this scope
st.push(nod);
^
user.cpp: In function ‘void dfs2(int)’:
user.cpp:25:5: error: ‘viz’ was not declared in this scope
viz[nod]=1;
^
user.cpp:26:5: error: ‘ctc’ was not declared in this scope
ctc[u].push_back(nod);
^
user.cpp:27:5: error: ‘ctc1’ was not declared in this scope
ctc1[nod]=u;
^
user.cpp:29:18: error: ‘b’ was not declared in this scope
for (i=0; i<=b[nod].size(); ++i)
^
user.cpp: In function ‘void dfs3(int)’:
user.cpp:35:5: error: ‘q’ was not declared in this scope
q[++t]=nod;
^
user.cpp:35:9: error: ‘t’ was not declared in this scope
q[++t]=nod;
^
user.cpp:36:5: error: ‘viz’ was not declared in this scope
viz[nod]=1;
^
user.cpp:37:21: error: ‘c’ was not declared in this scope
for (int i=0; i<c[nod].size(); ++i)
^
user.cpp:38:44: error: expected ‘;’ before ‘]’ token
if (!viz[c[nod][i]]) dfs3(c[nod][i]]);
^
user.cpp: In function ‘bool f(int&, int&)’:
user.cpp:43:5: error: ‘c’ was not declared in this scope
c[y].push_back(y);
^
user.cpp:44:5: error: ‘t’ was not declared in this scope
t=0;
^
user.cpp:45:22: error: ‘n’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !