Borderou de evaluare (job #2797920)

Utilizator MadalinaKopaczMadalina Kopacz MadalinaKopacz Data 10 noiembrie 2021 19:08:33
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'std::ostream& operator<<(std::ostream&, const Graf&)': main.cpp:109:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 109 | for (int j = 1; j < grafDat.lisAdiacenta[i].size(); ++j) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'std::vector<int> Graf::BFS(int)': main.cpp:156:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 156 | for (int i = 1; i < lisAdiacenta[x].size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:146:12: warning: unused variable 'y' [-Wunused-variable] 146 | int x, y; | ^ main.cpp: In member function 'void Graf::DFS(int, std::vector<bool>&, std::stack<int>&)': main.cpp:180:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 180 | for(int i = 1; i < lisAdiacenta[x].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In static member function 'static void Graf::existaGraf(std::vector<int>&, std::ostream&)': main.cpp:223:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 223 | for (int i = 0; i < grade.size(); ++i) | ~~^~~~~~~~~~~~~~ main.cpp:241:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 241 | if (fst > grade.size()) { //daca avem un grad mai mare decat numarul de noduri ramase | ~~~~^~~~~~~~~~~~~~ main.cpp:255:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 255 | if(j >= grade.size()) | ~~^~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::tarjanDFS(int, std::vector<int>&, std::vector<int>&, std::stack<int>&, std::vector<bool>&, std::vector<std::vector<int> >&)': main.cpp:275:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 275 | for (int i = 1; i < lisAdiacenta[x].size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::CTC(std::ostream&)': main.cpp:311:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 311 | for (int i = 0; i < rez.size(); ++i) { | ~~^~~~~~~~~~~~ main.cpp:312:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 312 | for (int j = 0; j < rez[i].size(); ++j) { | ~~^~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
11ms184kbNumar de componente gresit00
22ms184kbNumar de componente gresit0
31ms184kbNumar de componente gresit0
41ms184kbNumar de componente gresit00
510ms540kbNumar de componente gresit0
615ms1040kbNumar de componente gresit0
746ms2097kbNumar de componente gresit00
891ms4845kbNumar de componente gresit0
9171ms11468kbNumar de componente gresit0
10194ms16699kbNumar de componente gresit00
Punctaj total0

Ceva nu functioneaza?