Borderou de evaluare (job #2566970)

Utilizator XXMihaiXX969Gherghinescu Mihai Andrei XXMihaiXX969 Data 3 martie 2020 14:14:25
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:20:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < l[x].size(); i++) ~~^~~~~~~~~~~~~ main.cpp: In function 'void dfst(int, int)': main.cpp:37:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < lt[x].size(); i++) ~~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:53:5: error: 'in' was not declared in this scope in >> n >> m; ^~ main.cpp:83:5: error: 'out' was not declared in this scope out << cnt <<'\n'; ^~~ main.cpp:87:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < cc[i].size(); j++) ~~^~~~~~~~~~~~~~ main.cpp:87:11: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int j = 0; j < cc[i].size(); j++) ^~~ main.cpp:90:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' out <<'\n'; ^~~ Non zero exit status: 1

Ceva nu functioneaza?