Borderou de evaluare (job #2829566)

Utilizator StefaniaCriStefania Cristea StefaniaCri Data 8 ianuarie 2022 18:58:44
Problema Senat Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'bool Undirected::is_correct_graph(std::vector<int>)': main.cpp:142:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 142 | if(v>grade.size()) | ~^~~~~~~~~~~~~ main.cpp: In member function 'void Undirected::criticalConnections(std::vector<std::vector<int> >&)': main.cpp:302:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 302 | for(int i = 0; i < connections.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ main.cpp:314:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 314 | for(int i=0;i<output.size();i++) | ~^~~~~~~~~~~~~~ main.cpp: In member function 'void Directed::findCTC()': main.cpp:461:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 461 | for(int i=0;i<sol.size();i++) | ~^~~~~~~~~~~ main.cpp:463:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 463 | for(int j=0;j<sol[i].size();j++) | ~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:1012:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1012 | if(grf.cuplaj()!=m) | ^~ main.cpp:1014:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1014 | return 0; | ^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
114ms12779kbKilled by Signal 110
214ms12779kbKilled by Signal 110
314ms12779kbKilled by Signal 110
413ms12771kbKilled by Signal 110
513ms12771kbKilled by Signal 110
614ms12779kbKilled by Signal 110
714ms12779kbKilled by Signal 110
814ms12779kbKilled by Signal 110
913ms12771kbIncorect!0
1014ms12779kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?