Pagini recente »
Borderou de evaluare (job #737799)
|
Borderou de evaluare (job #274462)
|
Borderou de evaluare (job #706377)
|
Borderou de evaluare (job #797023)
|
Borderou de evaluare (job #719575)
Borderou de evaluare (job #719575)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:90:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
90 | pr[j]=t[j]=0;
| ~~~~^~
main.cpp:105:14: warning: 'y' may be used uninitialized [-Wmaybe-uninitialized]
105 | while (y && y!=1){
| ~~^~~~~~~
main.cpp:62:9: note: 'y' was declared here
62 | int y;
| ^
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:92: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,nrm=0;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
Diametru incorect
|
0
|
3
|
1 ms
|
245 kb
|
Calea este incompletă.
|
3
|
4
|
9 ms
|
483 kb
|
OK
|
10
|
5
|
19 ms
|
724 kb
|
Calea încearcă să traverseze o muchie care nu există.
|
3
|
6
|
89 ms
|
2224 kb
|
Calea încearcă să traverseze o muchie care nu există.
|
3
|
7
|
139 ms
|
3317 kb
|
Calea încearcă să traverseze o muchie care nu există.
|
3
|
8
|
219 ms
|
4145 kb
|
Calea încearcă să traverseze o muchie care nu există.
|
3
|
9
|
239 ms
|
5193 kb
|
Calea încearcă să traverseze o muchie care nu există.
|
3
|
10
|
279 ms
|
5062 kb
|
Calea încearcă să traverseze o muchie care nu există.
|
3
|
Punctaj total
|
41
|