Pagini recente » Borderou de evaluare (job #2447954) | Borderou de evaluare (job #2448427) | Borderou de evaluare (job #3170385) | Borderou de evaluare (job #3172280)
Borderou de evaluare (job #3172280)
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:725:31: warning: narrowing conversion of '(((long long int)dist) + next.ToNode::cost)' from 'long long int' to 'int' [-Wnarrowing]
725 | pq.push({dist + next.cost, {next.node, std::max(power, dragons[next.node])}});
| ~~~~~^~~~~~~~~~~
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 | 324ms | 37744kb | Memory limit exceeded | 0 |
12 | 315ms | 37609kb | Memory limit exceeded | 0 |
13 | 339ms | 37703kb | Memory limit exceeded | 0 |
14 | 323ms | 37744kb | Memory limit exceeded | 0 |
15 | 330ms | 37597kb | Memory limit exceeded | 0 |
16 | 341ms | 37715kb | Memory limit exceeded | 0 |
17 | 319ms | 37654kb | Memory limit exceeded | 0 |
18 | 311ms | 37539kb | Memory limit exceeded | 0 |
19 | 328ms | 37564kb | Memory limit exceeded | 0 |
20 | 347ms | 37576kb | Memory limit exceeded | 0 |
Punctaj total | 20 |