Borderou de evaluare (job #3380714)
Raport evaluator
Compilare:
In file included from /usr/include/c++/12.2.1/algorithm:61,
from main.cpp:2:
In function 'constexpr void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = ura*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(ura, ura)>]',
inlined from 'constexpr void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = ura*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(ura, ura)>]' at /usr/include/c++/12.2.1/bits/stl_algo.h:1940:31,
inlined from 'constexpr void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = ura*; _Compare = bool (*)(ura, ura)]' at /usr/include/c++/12.2.1/bits/stl_algo.h:4853:18,
inlined from 'void fill(int, int)' at main.cpp:49:9:
/usr/include/c++/12.2.1/bits/stl_algo.h:1849:32: warning: array subscript 16 is outside array bounds of 'ura [5]' [-Warray-bounds]
1849 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void fill(int, int)':
main.cpp:36:9: note: at offset 192 into object 'cine' of size 60
36 | ura cine[5];
| ^~~~
main.cpp: In function 'int main()':
main.cpp:101:12: warning: 'py' may be used uninitialized [-Wmaybe-uninitialized]
101 | pny= maxi[px][py].y;
| ~~~^~~~~~~~~~~~~~~~
main.cpp:82:22: note: 'py' was declared here
82 | int maxx= 0, px, py;
| ^~
main.cpp:101:12: warning: 'px' may be used uninitialized [-Wmaybe-uninitialized]
101 | pny= maxi[px][py].y;
| ~~~^~~~~~~~~~~~~~~~
main.cpp:82:18: note: 'px' was declared here
82 | int maxx= 0, px, py;
| ^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 13ms | 454kb | Killed by Signal 11 | 0 |
| 2 | 13ms | 405kb | Killed by Signal 11 | 0 |
| 3 | 13ms | 405kb | Killed by Signal 11 | 0 |
| 4 | 13ms | 450kb | Killed by Signal 11 | 0 |
| 5 | 13ms | 425kb | Killed by Signal 11 | 0 |
| 6 | 13ms | 413kb | Killed by Signal 11 | 0 |
| 7 | 13ms | 446kb | Killed by Signal 11 | 0 |
| 8 | 13ms | 405kb | Killed by Signal 11 | 0 |
| 9 | 13ms | 421kb | Killed by Signal 11 | 0 |
| 10 | 13ms | 405kb | Killed by Signal 11 | 0 |
| Punctaj total | 0 |