Pagini recente » Borderou de evaluare (job #286559) | Borderou de evaluare (job #1674070) | Borderou de evaluare (job #2339680) | Borderou de evaluare (job #2233745) | Borderou de evaluare (job #3271382)
Borderou de evaluare (job #3271382)
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 |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 0ms | 303kb | OK | 10 |
5 | 1ms | 303kb | Incorect | 0 |
6 | 1ms | 303kb | OK | 10 |
7 | 1ms | 303kb | OK | 10 |
8 | 1ms | 303kb | Incorect | 0 |
9 | 2ms | 303kb | Incorect | 0 |
10 | 2ms | 303kb | OK | 10 |
Punctaj total | 50 |