Borderou de evaluare (job #2653971)
Utilizator | Data | 29 septembrie 2020 17:07:13 | |
---|---|---|---|
Problema | Ciclu Eulerian | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:13:1: error: expected initializer before 'vector'
vector <pair <int, int> > edges[NMAX];
^~~~~~
main.cpp: In function 'void readInput()':
main.cpp:24:9: error: 'edges' was not declared in this scope
edges[a].push_back({b, i});
^~~~~
main.cpp: In function 'void Output(bool)':
main.cpp:33:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < result.size() ; ++i) g<< result[i] << " ";
~~^~~~~~~~~~~~~~~
main.cpp: In function 'void dfs(int)':
main.cpp:44:12: error: 'edges' was not declared in this scope
if(edges[node].size() == 0) result.push_back(node);
^~~~~
main.cpp:53:17: error: 'vizitat' was not declared in this scope
if(!vizitat[tip])
^~~~~~~
main.cpp: In function 'void Solution()':
main.cpp:66:12: error: 'edges' was not declared in this scope
if(edges[i].size() % 2 != 0)
^~~~~
main.cpp:72:5: error: 'st' was not declared in this scope
st.push_back(1);
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !