Borderou de evaluare (job #720409)

Utilizator avatar sandu_stefan_1 Sandu Stefan sandu_stefan_1 IP ascuns
Problemă Diametru (clasele 11-12) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 18 mai 2023 22:03:13 Scor 86

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:92:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 92 | pr[j]=t[j]=0; | ~~~~^~ main.cpp:108:23: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized] 108 | while (y && !viz[y]){ | ~~~~~^ main.cpp:50:11: note: 'y' was declared here 50 | int x,y,z,nrm=0; | ^ In file included from /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/i686-pc-linux-gnu/bits/c++allocator.h:33, from /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/allocator.h:46, from /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/string:41, from /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/locale_classes.h:40, from /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/ios_base.h:41, from /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/ios:42, from /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/ostream:38, from /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/iostream:39, from main.cpp:1: In member function 'void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = int; _Args = {const int&}; _Tp = int]', inlined from 'static void std::allocator_traits<std::allocator<_CharT> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = int; _Args = {const int&}; _Tp = int]' at /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/alloc_traits.h:516:17, inlined from 'void std::deque<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = int; _Alloc = std::allocator<int>]' at /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/stl_deque.h:1543:30, inlined from 'void std::queue<_Tp, _Sequence>::push(const value_type&) [with _Tp = int; _Sequence = std::deque<int, std::allocator<int> >]' at /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/stl_queue.h:286:20, inlined from 'int main()' at main.cpp:94:11: /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/new_allocator.h:175:11: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 175 | { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:50:9: note: 'x' was declared here 50 | int x,y,z,nrm=0; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 3 ms 507 kb OK 10
4 9 ms 487 kb OK 10
5 19 ms 720 kb OK 10
6 89 ms 2224 kb OK 10
7 129 ms 3350 kb Calea încearcă să traverseze o muchie care nu există. 3
8 219 ms 4149 kb OK 10
9 239 ms 5193 kb Calea încearcă să traverseze o muchie care nu există. 3
10 289 ms 5312 kb OK 10
Punctaj total 86