Pagini recente »
Borderou de evaluare (job #500903)
|
Borderou de evaluare (job #806654)
|
Clasament haideti.oameni.buni
|
Clasament cvv6_4
|
Borderou de evaluare (job #744494)
Borderou de evaluare (job #744494)
Raport evaluator
Compilare:
In file included from /usr/lib/gcc/i686-pc-linux-gnu/13/include/g++-v13/algorithm:61,
from main.cpp:3:
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:80:17:
/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 [4]' [-Warray-bounds=]
1859 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:11:5: note: at offset 64 into object 'v' of size 16
11 | int v[4];
| ^
main.cpp:89:11: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized]
89 | if(res>max) max=res;
| ^~
main.cpp:30:21: note: 'max' was declared here
30 | int n, m, i, j, max, k, res, cnt;
| ^~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
2 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
503 kb
|
OK
|
10
|
7
|
19 ms
|
2080 kb
|
OK
|
10
|
8
|
39 ms
|
2867 kb
|
OK
|
10
|
9
|
39 ms
|
1294 kb
|
OK
|
10
|
10
|
29 ms
|
1032 kb
|
OK
|
10
|
Punctaj total
|
90
|