Borderou de evaluare (job #731982)

Utilizator avatar bagae andrei burlacu bagae IP ascuns
Problemă Pluton (clasa a 9-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 12 sept. 2023 17:34:20 Scor 20

Raport evaluator

Compilare: In file included from /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/algorithm:61, from main.cpp:2: In function 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = long long int*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', inlined from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = long long 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 = long long 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 = long long 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 = long long 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:20:12: /usr/lib/gcc/i686-pc-linux-gnu/12/include/g++-v12/bits/stl_algo.h:1849:32: warning: array subscript 17 is outside array bounds of 'long long int [15]' [-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 136 into object 'v' of size 120 6 | long long v[15],a[4001]; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect! 0
2 1 ms 245 kb OK 10
3 1 ms 245 kb Incorect! 0
4 1 ms 245 kb Incorect! 0
5 1 ms 245 kb Incorect! 0
6 9 ms 245 kb Incorect! 0
7 1 ms 245 kb Incorect! 0
8 2 ms 249 kb Incorect! 0
9 1 ms 249 kb Incorect! 0
10 9 ms 245 kb OK 10
Punctaj total 20