Borderou de evaluare (job #2343624)
Utilizator | Data | 14 februarie 2019 09:52:45 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:1: error: 'vector' does not name a type
vector <int>g[NMAX];
^~~~~~
main.cpp:8:1: error: 'vector' does not name a type
vector <int>gt[NMAX];
^~~~~~
main.cpp: In function 'void citire()':
main.cpp:53:9: error: 'g' was not declared in this scope
g[x].push_back(y);
^
main.cpp:54:9: error: 'gt' was not declared in this scope
gt[y].push_back(x);
^~
main.cpp:48:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,x,y;
^
main.cpp: In function 'void dfs(int)':
main.cpp:63:16: error: 'g' was not declared in this scope
for(i=0; i<g[k].size(); i++)
^
main.cpp: In function 'void dfs1(int)':
main.cpp:76:16: error: 'gt' was not declared in this scope
for(i=0; i<gt[k].size(); i++)
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !