Borderou de evaluare (job #744650)

Utilizator avatar tomaionut IDorando tomaionut IP ascuns
Problemă Balance (clasa a 9-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 13 nov. 2023 13:28:03 Scor 85

Raport evaluator

Compilare: In file included from /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/algorithm:61, from main.cpp:5: In function 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', inlined from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]' at /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_algo.h:1854:5, inlined from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]' at /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_algo.h:1950:31, inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = int*]' at /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_algo.h:4861:18, inlined from 'int main()' at main.cpp:37:9: /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_algo.h:1859:32: warning: array subscript 16 is outside array bounds of 'int [10]' [-Warray-bounds=] 1859 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:12:5: note: at offset 64 into object 'a' of size 40 12 | int a[10], n, ans = 0, lpan, rpan; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 241 kb OK 5
2 1 ms 245 kb OK 5
3 1 ms 241 kb OK 5
4 1 ms 245 kb OK 5
5 1 ms 241 kb OK 5
6 1 ms 241 kb OK 5
7 1 ms 245 kb OK 5
8 1 ms 245 kb OK 5
9 1 ms 245 kb OK 5
10 1 ms 245 kb OK 5
11 1 ms 241 kb OK 5
12 1 ms 249 kb OK 5
13 1 ms 249 kb OK 5
14 1 ms 249 kb OK 5
15 69 ms 249 kb OK 5
16 69 ms 249 kb OK 5
17 233 ms 245 kb OK 5
18 1009 ms 249 kb Time limit exceeded 0
19 1009 ms 249 kb Time limit exceeded 0
20 1009 ms 249 kb Time limit exceeded 0
Punctaj total 85