Borderou de evaluare (job #2979989)

Utilizator andrein2005Andrei Stefan Neacsu andrein2005 Data 16 februarie 2023 09:44:57
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 dfsGraf(int)': main.cpp:38:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | for(int i=0; i<Graf[x].size(); i++) | ~^~~~~~~~~~~~~~~ main.cpp: In function 'void dfsGrafT(int)': main.cpp:49:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 49 | for(int i=0; i<GrafT[x].size(); i++) | ~^~~~~~~~~~~~~~~~ main.cpp: In function 'void afis()': main.cpp:79:49: error: 'out' was not declared in this scope; did you mean 'fout'? 79 | for (int j=1; j<=n; j++) if (CTC[j]==i) out<<j<<' '; | ^~~ | fout main.cpp:80:9: error: 'out' was not declared in this scope; did you mean 'fout'? 80 | out<<'\n'; | ^~~ | fout Non zero exit status: 1

Ceva nu functioneaza?