Borderou de evaluare (job #3003674)
Raport evaluator
Compilare:
main.cpp: In function 'void solve()':
main.cpp:42:81: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
42 | if ((ndist <= dist[pos]) and (app[pos] != -1)) app[pos] = (nod.fort < app[pos]) ? nod.fort : app[pos];
| ~~~~~~~~~^~~~~~~~~~
main.cpp:45:77: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
45 | if ((ndist <= dist[pos]) and (app[pos] != -1)) app[pos] = (nod.fort < app[pos]) ? nod.fort : app[pos];
| ~~~~~~~~~^~~~~~~~~~
main.cpp:48:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<unsigned int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | for (int i = 0; i < conn[pos].size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:50:29: warning: comparison of integer expressions of different signedness: 'int' and '__gnu_cxx::__alloc_traits<std::allocator<unsigned int>, unsigned int>::value_type' {aka 'unsigned int'} [-Wsign-compare]
50 | if (dist[vecin] >= dist[pos] + cost[pos][i]) {
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | OK | 10 |
2 | 0ms | 184kb | Incorect | 0 |
3 | 4ms | 2412kb | OK | 10 |
4 | 0ms | 184kb | OK | 10 |
5 | 14ms | 3211kb | Incorect | 0 |
6 | 27ms | 4018kb | Incorect | 0 |
7 | 0ms | 184kb | OK | 10 |
8 | 3ms | 2412kb | Incorect | 0 |
9 | 23ms | 3801kb | Incorect | 0 |
10 | 73ms | 5677kb | Incorect | 0 |
Punctaj total | 40 |