Borderou de evaluare (job #2796382)

Utilizator TonioAntonio Falcescu Tonio Data 7 noiembrie 2021 23:03:01
Problema Componente biconexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In member function 'void Graf::CTC()': main.cpp:198:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 198 | for (int i = 0; i < afisare.size(); ++i) | ~~^~~~~~~~~~~~~~~~ main.cpp:200:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 200 | for (int j = 0; j < afisare[i].size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::HavelHakimi()': main.cpp:219:3: error: 'sort' was not declared in this scope; did you mean 'qsort'? 219 | sort(v.begin(), v.end(), greater<>()); | ^~~~ | qsort main.cpp:225:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 225 | if (aux > v.size()) | ~~~~^~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?