Pagini recente »
Borderou de evaluare (job #508570)
|
Borderou de evaluare (job #731874)
Borderou de evaluare (job #731874)
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<int, int>*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]',
inlined from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = pair<int, 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<int, 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<int, 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<int, 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:11: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<int, int> [10]' [-Warray-bounds]
1849 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:5:15: note: at offset 128 into object 'a' of size 80
5 | pair<int,int> a[10];
| ^
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
OK
|
10
|
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
|
3
|
1 ms
|
241 kb
|
OK
|
10
|
|
4
|
19 ms
|
475 kb
|
OK
|
10
|
|
5
|
39 ms
|
512 kb
|
OK
|
10
|
|
6
|
9 ms
|
495 kb
|
OK
|
10
|
|
7
|
9 ms
|
512 kb
|
OK
|
10
|
|
8
|
19 ms
|
512 kb
|
OK
|
10
|
|
9
|
59 ms
|
663 kb
|
Incorect
|
0
|
|
10
|
1 ms
|
245 kb
|
OK
|
10
|
|
Punctaj total
|
90
|