Pagini recente » Borderou de evaluare (job #2500065) | Cod sursa (job #2190511) | Borderou de evaluare (job #1228735) | Borderou de evaluare (job #707783) | Borderou de evaluare (job #3170187)
Borderou de evaluare (job #3170187)
Raport evaluator
Compilare:
main.cpp: In function 'double prim(std::vector<std::pair<int, int> >)':
main.cpp:143:12: warning: 'distanta_tot' may be used uninitialized [-Wmaybe-uninitialized]
143 | return distanta_tot;
| ^~~~~~~~~~~~
main.cpp:114:12: note: 'distanta_tot' was declared here
114 | double distanta_tot, distanta_temporara;
| ^~~~~~~~~~~~
In file included from /usr/include/c++/12.2.1/vector:65,
from main.cpp:6:
In member function 'constexpr std::vector<bool, _Alloc>::reference std::vector<bool, _Alloc>::operator[](size_type) [with _Alloc = std::allocator<bool>]',
inlined from 'double prim(std::vector<std::pair<int, int> >)' at main.cpp:131:30:
/usr/include/c++/12.2.1/bits/stl_bvector.h:1036:23: warning: 'nod_temporar' may be used uninitialized [-Wmaybe-uninitialized]
1036 | { return begin()[__n]; }
| ~~~~~~~^
main.cpp: In function 'double prim(std::vector<std::pair<int, int> >)':
main.cpp:123:13: note: 'nod_temporar' was declared here
123 | int nod_temporar;
| ^~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 2ms | 303kb | Incorect | 0 |
5 | 4ms | 303kb | Incorect | 0 |
6 | 9ms | 303kb | Incorect | 0 |
7 | 14ms | 303kb | Incorect | 0 |
8 | 24ms | 303kb | Incorect | 0 |
9 | 39ms | 303kb | Incorect | 0 |
10 | 39ms | 303kb | Incorect | 0 |
Punctaj total | 10 |