Borderou de evaluare (job #3271382)

Utilizator Alex_AeleneiAlex Aelenei Ioan Alex_Aelenei Data 25 ianuarie 2025 21:16:42
Problema Floyd-Warshall/Roy-Floyd Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'void floydWarshall(std::vector<std::vector<int> >&, std::vector<std::vector<int> >&)': main.cpp:12:55: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 12 | for (int intermediaryIndex = 0; intermediaryIndex < shortestPaths.size(); intermediaryIndex++) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:13:47: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 13 | for (int sourceIndex = 0; sourceIndex < shortestPaths.size(); sourceIndex++) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:14:61: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 14 | for (int destinationIndex = 0; destinationIndex < shortestPaths.size(); destinationIndex++) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:30:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 30 | for (int sourceIndex = 0; sourceIndex < distances.size(); sourceIndex++) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp:31:57: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 31 | for (int destinationIndex = 0; destinationIndex < distances.size(); destinationIndex++) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ main.cpp:36:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 36 | for (int sourceIndex = 0; sourceIndex < shortestPaths.size(); sourceIndex++) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:38:57: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | for (int destinationIndex = 0; destinationIndex < shortestPaths.size(); destinationIndex++) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:26:20: warning: unused variable 'distance' [-Wunused-variable] 26 | int nodeCount, distance; | ^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbIncorect0
30ms303kbIncorect0
40ms303kbOK10
51ms303kbIncorect0
61ms303kbOK10
71ms303kbOK10
81ms303kbIncorect0
92ms303kbIncorect0
102ms303kbOK10
Punctaj total50

Ceva nu functioneaza?