Borderou de evaluare (job #2795538)

Utilizator AlexandraBoghiuAlexandra Boghiu AlexandraBoghiu Data 6 noiembrie 2021 15:50:24
Problema Componente biconexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 4

Raport evaluator

Compilare: main.cpp: In member function 'void Graph::printListOfNeighbours(std::ostream&)': main.cpp:79:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 79 | for (int i = 1; i < this->listOfNeighbours.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:82:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 82 | for (int j = 0; j < listOfNeighbours[i].size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graph::stronglyConnectedComponents()': main.cpp:215:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 215 | for (int i = 0; i < solution.size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:217:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 217 | for (int j = 0; j < solution[i].size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graph::biconnectedComponents()': main.cpp:266:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 266 | for (int i = 0; i < solution.size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp:268:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 268 | for (int j = 0; j < solution[i].size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbComponente biconexe: numar gresit0
23ms192kbComponente biconexe: numar gresit0
31ms184kbComponente biconexe: numar gresit0
41ms184kbComponente biconexe: numar gresit0
51ms184kbComponente biconexe: numar gresit0
610ms1224kbComponente biconexe: numar gresit0
717ms1875kbComponente biconexe: numar gresit0
8329ms23642kbComponente biconexe: componenta gresita4
9200ms14520kbComponente biconexe: numar gresit0
10264ms20709kbComponente biconexe: numar gresit0
Punctaj total4

Ceva nu functioneaza?