Borderou de evaluare (job #780434)

Utilizator avatar bogdan1479 Luca Bogdan Alexandru bogdan1479 IP ascuns
Problemă Channels (clasa a 8-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 21 iun. 2024 23:39:08 Scor 0

Raport evaluator

Compilare: In file included from /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/algorithm:61, from main.cpp:2: In function 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = canal*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(const canal&, const canal&)>]', inlined from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = canal*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(const canal&, const canal&)>]' 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, _Compare) [with _RAIter = canal*; _Compare = bool (*)(const canal&, const canal&)]' at /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/bits/stl_algo.h:4894:18, inlined from 'void solutie()' at main.cpp:51:9: /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 'canal [11]' [-Warray-bounds=] 1859 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void solutie()': main.cpp:19:3: note: at offset 204 into object 'c' of size 132 19 | } c[MMAX + 1]; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 512 kb Killed by Signal 11 0
3 1 ms 270 kb Killed by Signal 11 0
4 1 ms 249 kb Killed by Signal 11 0
5 1 ms 249 kb Killed by Signal 11 0
6 19 ms 5492 kb Memory limit exceeded 0
7 19 ms 5251 kb Memory limit exceeded 0
8 19 ms 5230 kb Memory limit exceeded 0
9 19 ms 5226 kb Memory limit exceeded 0
10 19 ms 5230 kb Memory limit exceeded 0
Punctaj total 0