Pagini recente » Borderou de evaluare (job #3335464) | Borderou de evaluare (job #3355048) | Borderou de evaluare (job #3310933) | Borderou de evaluare (job #3352060) | Borderou de evaluare (job #3352357)
Borderou de evaluare (job #3352357)
Raport evaluator
Compilare:
main.cpp: In function 'bool isValidCoord(int, int, Matrix&)':
main.cpp:24:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | return x >= 0 && y >= 0 && x < matrix.size() && y < matrix[0].size();
| ~~^~~~~~~~~~~~~~~
main.cpp:24:53: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | return x >= 0 && y >= 0 && x < matrix.size() && y < matrix[0].size();
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int bfs(Matrix&)':
main.cpp:57:10: warning: overflow in conversion from 'float' to 'int' changes value from '+Inff' to '2147483647' [-Woverflow]
57 | return INFINITY;
| ^~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Incorect | 0 |
| 2 | 0ms | 303kb | Incorect | 0 |
| 3 | 0ms | 303kb | Incorect | 0 |
| 4 | 0ms | 303kb | OK | 10 |
| 5 | 0ms | 303kb | OK | 10 |
| 6 | 1ms | 557kb | Incorect | 0 |
| 7 | 1ms | 557kb | Incorect | 0 |
| 8 | 1ms | 557kb | Incorect | 0 |
| 9 | 0ms | 303kb | OK | 10 |
| 10 | 0ms | 303kb | Incorect | 0 |
| Punctaj total | 30 |