Borderou de evaluare (job #1453438)
Utilizator | Data | 23 iunie 2015 15:22:00 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:15:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<g[nod].size(); ++i)
^
user.cpp: In function ‘void dfs2(int)’:
user.cpp:27:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<gt[nod].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:57:24: error: request for member ‘size’ in ‘comp’, which is of non-class type ‘std::vector<int> [100005]’
for (j=0; j<comp.size(); ++j) cout<<comp[i][j]<<" ";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !