Borderou de evaluare (job #1920257)
Utilizator | Data | 9 martie 2017 23:12:56 | |
---|---|---|---|
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:19:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[x].size();i++)
^
user.cpp: In function ‘void dfs1(int)’:
user.cpp:31:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<gt[x].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:61:8: error: invalid operands of types ‘std::vector<int> [100010]’ and ‘int’ to binary ‘operator<<’
g<<nr<<"\n";
^
user.cpp:65:24: error: invalid operands of types ‘std::vector<int> [100010]’ and ‘__gnu_cxx::__alloc_traits<std::allocator<int> >::value_type {aka int}’ to binary ‘operator<<’
g<<ans[i][j]<<' ';
^
user.cpp:66:12: error: invalid operands of types ‘std::vector<int> [100010]’ and ‘const char [2]’ to binary ‘operator<<’
g<<"\n";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !