Pagini recente »
Borderou de evaluare (job #711957)
|
Borderou de evaluare (job #61762)
|
Borderou de evaluare (job #431224)
|
Borderou de evaluare (job #725579)
|
Borderou de evaluare (job #767242)
Borderou de evaluare (job #767242)
Raport evaluator
Compilare:
main.cpp: In function 'std::vector<int> Merge(std::vector<int>&, std::vector<int>&)':
main.cpp:14:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
14 | while (i < left.size() && j < right.size())
| ~~^~~~~~~~~~~~~
main.cpp:14:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
14 | while (i < left.size() && j < right.size())
| ~~^~~~~~~~~~~~~~
main.cpp:31:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
31 | while (i < left.size())
| ~~^~~~~~~~~~~~~
main.cpp:37:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare]
37 | while (j < right.size())
| ~~^~~~~~~~~~~~~~
In file included from /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/string:51,
from /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/locale_classes.h:40,
from /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/ios_base.h:41,
from /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/ios:44,
from /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/ostream:40,
from /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/iostream:41,
from main.cpp:1:
In static member function 'static _Up* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp = const int; _Up = int; bool _IsMove = false]',
inlined from '_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const int*; _OI = int*]' at /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_algobase.h:506:30,
inlined from '_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const int*; _OI = int*]' at /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_algobase.h:533:42,
inlined from '_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator<const int*, vector<int> >; _OI = int*]' at /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_algobase.h:540:31,
inlined from '_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<const int*, vector<int> >; _OI = int*]' at /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_algobase.h:633:7,
inlined from 'static _ForwardIterator std::__uninitialized_copy<true>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const int*, std::vector<int> >; _ForwardIterator = int*]' at /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_uninitialized.h:147:27,
inlined from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const int*, vector<int> >; _ForwardIterator = int*]' at /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_uninitialized.h:185:15,
inlined from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const int*, vector<int> >; _ForwardIterator = int*; _Tp = int]' at /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_uninitialized.h:373:37,
inlined from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = int; _Alloc = std::allocator<int>]' at /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_vector.h:603:31,
inlined from 'std::vector<int> MargeSort(std::vector<int>&)' at main.cpp:49:16:
/usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_algobase.h:437:30: warning: 'void* __builtin_memmove(void*, const void*, unsigned int)' forming offset 4 is out of the bounds [0, 4] [-Warray-bounds=]
437 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
19 ms
|
774 kb
|
OK
|
10
|
2
|
29 ms
|
774 kb
|
OK
|
10
|
3
|
49 ms
|
1028 kb
|
OK
|
10
|
4
|
59 ms
|
1028 kb
|
OK
|
10
|
5
|
59 ms
|
1036 kb
|
OK
|
10
|
6
|
129 ms
|
1941 kb
|
Incorect
|
0
|
7
|
259 ms
|
2994 kb
|
Incorect
|
0
|
8
|
539 ms
|
6447 kb
|
Incorect
|
0
|
9
|
309 ms
|
9949 kb
|
Memory limit exceeded
|
0
|
10
|
389 ms
|
12308 kb
|
Memory limit exceeded
|
0
|
Punctaj total
|
50
|