Borderou de evaluare (job #2562753)
Utilizator | Data | 29 februarie 2020 17:48:24 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:24:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g1[nod].size(); i++)
~~^~~~~~~~~~~~~~~~
main.cpp: In function 'void dfs2(int, int)':
main.cpp:32:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g2[nod].size(); i++)
~~^~~~~~~~~~~~~~~~
main.cpp: In function 'void Kosarju()':
main.cpp:42:31: error: 'memset' was not declared in this scope
memset(used,0,sizeof(used));
^
main.cpp:45:13: warning: unused variable 'x' [-Wunused-variable]
int x = s.top();
^
main.cpp:54:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < sol[i].size(); j++)
~~^~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !