Pagini recente »
Borderou de evaluare (job #799819)
|
Borderou de evaluare (job #731876)
Borderou de evaluare (job #731876)
Raport evaluator
Compilare:
In file included from /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/algorithm:61,
from /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/i686-pc-linux-gnu/bits/stdc++.h:65,
from main.cpp:1:
In function 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = pair<short unsigned int, short unsigned int>*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]',
inlined from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = pair<short unsigned int, short unsigned int>*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]' at /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/stl_algo.h:1844:5,
inlined from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = pair<short unsigned int, short unsigned int>*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]' at /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/stl_algo.h:1940:31,
inlined from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = pair<short unsigned int, short unsigned int>*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]' at /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/stl_algo.h:1932:5,
inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = pair<short unsigned int, short unsigned int>*]' at /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/stl_algo.h:4820:18,
inlined from 'int main()' at main.cpp:12:13:
/usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/stl_algo.h:1849:32: warning: array subscript 16 is outside array bounds of 'std::pair<short unsigned int, short unsigned int> [10]' [-Warray-bounds]
1849 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:6:11: note: at offset 64 into object 'a' of size 40
6 | pair<U,U> a[10];
| ^
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
2 ms
|
512 kb
|
OK
|
10
|
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
|
3
|
1 ms
|
241 kb
|
OK
|
10
|
|
4
|
9 ms
|
245 kb
|
OK
|
10
|
|
5
|
29 ms
|
507 kb
|
OK
|
10
|
|
6
|
9 ms
|
233 kb
|
OK
|
10
|
|
7
|
9 ms
|
249 kb
|
OK
|
10
|
|
8
|
19 ms
|
479 kb
|
OK
|
10
|
|
9
|
49 ms
|
389 kb
|
OK
|
10
|
|
10
|
1 ms
|
245 kb
|
OK
|
10
|
|
Punctaj total
|
100
|