Pagini recente » Borderou de evaluare (job #1709532) | Borderou de evaluare (job #2642467) | Borderou de evaluare (job #137015) | Borderou de evaluare (job #148744) | Borderou de evaluare (job #3168554)
Borderou de evaluare (job #3168554)
Raport evaluator
Compilare:
main.cpp: In function 'void trilant()':
main.cpp:330:19: warning: unused variable 'cost' [-Wunused-variable]
330 | long long cost = pq.top().first;
| ^~~~
main.cpp: In function 'void oracol()':
main.cpp:392:24: warning: unused variable 'min' [-Wunused-variable]
392 | long long ans = 0, min = 1e9;
| ^~~
main.cpp: In function 'void trilant()':
main.cpp:358:13: warning: 'endNode' may be used uninitialized [-Wmaybe-uninitialized]
358 | int l = len[i][node];
| ^
main.cpp:346:9: note: 'endNode' was declared here
346 | 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:169: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:159:13: note: 'index' was declared here
159 | int index;
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Corect! | 12 |
2 | 0ms | 303kb | Corect! | 12 |
3 | 4ms | 1204kb | Corect! | 12 |
4 | 8ms | 3555kb | Corect! | 13 |
5 | 29ms | 6696kb | Corect! | 13 |
6 | 44ms | 13058kb | Corect! | 13 |
7 | 64ms | 13107kb | Corect! | 13 |
8 | 0ms | 303kb | Corect! | 12 |
Punctaj total | 100 |