Pagini recente » Borderou de evaluare (job #1960520) | Borderou de evaluare (job #1643192) | Borderou de evaluare (job #1786170) | Borderou de evaluare (job #1904161) | Borderou de evaluare (job #3172283)
Borderou de evaluare (job #3172283)
Raport evaluator
Compilare:
main.cpp: In function 'void trilant()':
main.cpp:333:19: warning: unused variable 'cost' [-Wunused-variable]
333 | long long cost = pq.top().first;
| ^~~~
main.cpp: In function 'void oracol()':
main.cpp:395:24: warning: unused variable 'min' [-Wunused-variable]
395 | long long ans = 0, min = 1e9;
| ^~~
main.cpp: In function 'int dragoni_task2(int, std::vector<std::vector<ToNode> >&, std::vector<int>&)':
main.cpp:735:31: warning: narrowing conversion of '(((long long int)dist) + next.ToNode::cost)' from 'long long int' to 'int' [-Wnarrowing]
735 | pq.push({dist + next.cost, {next.node, nextPower}});
| ~~~~~^~~~~~~~~~~
main.cpp: In function 'void trilant()':
main.cpp:361:13: warning: 'endNode' may be used uninitialized [-Wmaybe-uninitialized]
361 | int l = len[i][node];
| ^
main.cpp:349:9: note: 'endNode' was declared here
349 | int endNode;
| ^~~~~~~
In file included from /usr/include/c++/12.2.1/vector:65,
from main.cpp:3:
In member function 'constexpr std::vector<bool, _Alloc>::reference std::vector<bool, _Alloc>::operator[](size_type) [with _Alloc = std::allocator<bool>]',
inlined from 'void cablaj()' at main.cpp:172:22:
/usr/include/c++/12.2.1/bits/stl_bvector.h:1036:23: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized]
1036 | { return begin()[__n]; }
| ~~~~~~~^
main.cpp: In function 'void cablaj()':
main.cpp:162:13: note: 'index' was declared here
162 | int index;
| ^~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Corect! | 2 |
| 2 | 0ms | 303kb | Corect! | 2 |
| 3 | 0ms | 303kb | Corect! | 2 |
| 4 | 0ms | 303kb | Corect! | 2 |
| 5 | 0ms | 303kb | Corect! | 2 |
| 6 | 0ms | 303kb | Corect! | 2 |
| 7 | 1ms | 557kb | Corect! | 2 |
| 8 | 1ms | 557kb | Corect! | 2 |
| 9 | 1ms | 557kb | Corect! | 2 |
| 10 | 1ms | 557kb | Corect! | 2 |
| 11 | 0ms | 303kb | Corect! | 8 |
| 12 | 0ms | 303kb | Corect! | 8 |
| 13 | 0ms | 303kb | Corect! | 8 |
| 14 | 0ms | 303kb | Corect! | 8 |
| 15 | 0ms | 303kb | Corect! | 8 |
| 16 | 1ms | 303kb | Corect! | 8 |
| 17 | 2ms | 819kb | Corect! | 8 |
| 18 | 2ms | 819kb | Corect! | 8 |
| 19 | 2ms | 819kb | Corect! | 8 |
| 20 | 2ms | 819kb | Corect! | 8 |
| Punctaj total | 100 |