Pagini recente » Borderou de evaluare (job #248637) | Borderou de evaluare (job #3329412) | Borderou de evaluare (job #1708010) | Borderou de evaluare (job #3351637) | Borderou de evaluare (job #3351387)
Borderou de evaluare (job #3351387)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:94:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
94 | for (int i = 0; i < adj_rev[nod_curent].size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:84:29: warning: 'berarie' may be used uninitialized [-Wmaybe-uninitialized]
84 | if (!vizitat[berarie]) {
| ~~~~~~~~~~~~~~~^
main.cpp:82:13: note: 'berarie' was declared here
82 | int berarie;
| ^~~~~~~
In file included from /usr/include/c++/12.2.1/vector:64,
from main.cpp:2:
In member function 'constexpr void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = int; _Alloc = std::allocator<int>]',
inlined from 'int main()' at main.cpp:75:29:
/usr/include/c++/12.2.1/bits/stl_vector.h:1283:13: warning: 'v' may be used uninitialized [-Wmaybe-uninitialized]
1283 | ++this->_M_impl._M_finish;
| ^~
main.cpp: In function 'int main()':
main.cpp:73:16: note: 'v' was declared here
73 | int u, v;
| ^
In file included from /usr/include/c++/12.2.1/bits/stl_iterator.h:85,
from /usr/include/c++/12.2.1/bits/stl_algobase.h:67,
from /usr/include/c++/12.2.1/vector:60:
In function 'constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = int; _Args = {const int&}]',
inlined from 'static constexpr void std::allocator_traits<std::allocator<_Up> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = int; _Args = {const int&}; _Tp = int]' at /usr/include/c++/12.2.1/bits/alloc_traits.h:518:21,
inlined from 'constexpr void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const int&}; _Tp = int; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/bits/vector.tcc:462:28,
inlined from 'constexpr void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = int; _Alloc = std::allocator<int>]' at /usr/include/c++/12.2.1/bits/stl_vector.h:1287:21,
inlined from 'int main()' at main.cpp:75:29:
/usr/include/c++/12.2.1/bits/stl_construct.h:97:14: warning: 'u' may be used uninitialized [-Wmaybe-uninitialized]
97 | { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:73:13: note: 'u' was declared here
73 | int u, v;
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 303kb | OK | 5 |
| 2 | 4ms | 303kb | Incorect | 0 |
| 3 | 3ms | 303kb | Incorect | 0 |
| 4 | 4ms | 303kb | Incorect | 0 |
| 5 | 3ms | 303kb | Incorect | 0 |
| 6 | 4ms | 303kb | Incorect | 0 |
| 7 | 3ms | 303kb | Incorect | 0 |
| 8 | 4ms | 303kb | Incorect | 0 |
| 9 | 3ms | 303kb | Incorect | 0 |
| 10 | 5ms | 819kb | Incorect | 0 |
| 11 | 4ms | 995kb | Incorect | 0 |
| 12 | 8ms | 1605kb | OK | 5 |
| 13 | 23ms | 6463kb | OK | 5 |
| 14 | 7ms | 2129kb | Incorect | 0 |
| 15 | 48ms | 9424kb | OK | 5 |
| 16 | 128ms | 43995kb | Incorect | 0 |
| 17 | 148ms | 46030kb | Incorect | 0 |
| 18 | 168ms | 48361kb | Incorect | 0 |
| 19 | 168ms | 49590kb | Incorect | 0 |
| 20 | 187ms | 50991kb | Incorect | 0 |
| Punctaj total | 20 |