Borderou de evaluare (job #744648)

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:26:10 Scor 85

Raport evaluator

Compilare: In file included from /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/algorithm:61, from /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/i686-pc-linux-gnu/bits/stdc++.h:51, from main.cpp:1: 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:36:10: /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_algo.h:1859:32: warning: array subscript 17 is outside array bounds of 'int [11]' [-Warray-bounds=] 1859 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:8:5: note: at offset 68 into object 'a' of size 44 8 | int a[11], l, r, sol, n; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 5
2 1 ms 245 kb OK 5
3 1 ms 245 kb OK 5
4 1 ms 245 kb OK 5
5 1 ms 241 kb OK 5
6 1 ms 245 kb OK 5
7 1 ms 245 kb OK 5
8 1 ms 241 kb OK 5
9 1 ms 245 kb OK 5
10 1 ms 245 kb OK 5
11 1 ms 245 kb OK 5
12 1 ms 245 kb OK 5
13 1 ms 245 kb OK 5
14 1 ms 245 kb OK 5
15 69 ms 249 kb OK 5
16 79 ms 245 kb OK 5
17 69 ms 245 kb OK 5
18 1009 ms 249 kb Time limit exceeded 0
19 1009 ms 249 kb Time limit exceeded 0
20 1008 ms 245 kb Time limit exceeded 0
Punctaj total 85