Borderou de evaluare (job #3177838)

Utilizator skphaMincu Adrian skpha Data 30 noiembrie 2023 11:10:57
Problema Dragoni Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'int Neighbours::getValue(std::pair<int, int>)': main.cpp:36:64: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 36 | if(i + indices.first >= indexedBy && i + indices.first < grid.size() | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ main.cpp: In constructor 'Graph::Graph(int, int, std::vector<std::pair<int, int> >&)': main.cpp:151:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 151 | for (int i=0;i<edges.size();i++) { | ~^~~~~~~~~~~~~ main.cpp: In constructor 'Graph::Graph(int, std::vector<std::vector<int> >&, bool)': main.cpp:163:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 163 | for (int i = 0; i < connections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp:169:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 169 | for(int i=0;i<connections.size();i++) { | ~^~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'std::vector<int> Graph::getBipartition()': main.cpp:203:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 203 | for (int i = 0; i < connections[temp].size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'int Graph::shortestBridge(std::vector<std::vector<int> >&)': main.cpp:254:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 254 | for(int i=0;i<grid.size();i++) { | ~^~~~~~~~~~~~ main.cpp:256:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 256 | for (int j = 0; j < grid[i].size(); j++) | ~~^~~~~~~~~~~~~~~~ main.cpp:287:26: warning: unused variable 'breakFor' [-Wunused-variable] 287 | bool breakFor = false; | ^~~~~~~~ main.cpp: In member function 'std::vector<int> Graph::topologicalSort(bool)': main.cpp:320:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 320 | for(int i=0; i<connections.size(); i++) { | ~^~~~~~~~~~~~~~~~~~~ main.cpp:333:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 333 | for(int i=0;i<precedence.size();i++) | ~^~~~~~~~~~~~~~~~~~ main.cpp:343:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 343 | for(int i=0;i<connections[temp].size();i++) { | ~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graph::transposeGraph()': main.cpp:366:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 366 | for(int i=0;i<connections.size();i++) { | ~^~~~~~~~~~~~~~~~~~~ main.cpp:367:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 367 | for(int j=0;j<connections[i].size();j++) { | ~^~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graph::DFSforCriticalConnections(int, std::vector<int>&, std::vector<int>&, std::vector<std::vector<int> >&, std::vector<bool>&)': main.cpp:380:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 380 | for(int i=0;i<connections[node].size();i++) { | ~^~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbRaspuns gresit!0
20ms303kbRaspuns gresit!0
30ms303kbRaspuns gresit!0
40ms303kbRaspuns gresit!0
50ms303kbRaspuns gresit!0
60ms557kbRaspuns gresit!0
71ms1081kbRaspuns gresit!0
81ms1343kbRaspuns gresit!0
92ms1343kbRaspuns gresit!0
102ms1343kbRaspuns gresit!0
118ms405kbKilled by Signal 110
126ms417kbKilled by Signal 110
139ms434kbKilled by Signal 110
146ms438kbKilled by Signal 110
154ms450kbKilled by Signal 110
169ms471kbKilled by Signal 110
1710ms638kbKilled by Signal 110
1811ms761kbKilled by Signal 110
1911ms790kbKilled by Signal 110
2012ms786kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?