记录详情

Wrong Answer

In file included from /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/algorithm:61,
                 from stdc++.h:65:
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 /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_algo.h:1844:5,
    inlined from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]' at /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_algo.h:1940:31,
    inlined from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]' at /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_algo.h:1932:5,
    inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = int*]' at /nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_algo.h:4820:18,
    inlined from 'int main()' at foo.cc:16:6:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_algo.h:1849:32: warning: array subscript 17 is outside array bounds of 'int [15]' [-Warray-bounds]
 1849 |           std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
      |           ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:4:5: note: at offset 68 into object 'a' of size 60
    4 | int a[15];
      |     ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 4ms 408.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Wrong Answer Read -1, expect 36. 3ms 328.0 KiB
#5 Accepted 4ms 364.0 KiB
#6 Wrong Answer Read -1, expect 6. 4ms 412.0 KiB
#7 Accepted 4ms 380.0 KiB
#8 Wrong Answer Read 64, expect 46. 3ms 284.0 KiB
#9 Accepted 3ms 412.0 KiB
#10 Accepted 3ms 412.0 KiB
#11 Wrong Answer Read 82, expect 28. 3ms 412.0 KiB
#12 Wrong Answer Read 87, expect 78. 3ms 356.0 KiB
#13 Wrong Answer Read 41, expect 14. 3ms 412.0 KiB
#14 Accepted 3ms 412.0 KiB
#15 Wrong Answer Read 43, expect 34. 3ms 328.0 KiB
#16 Accepted 3ms 412.0 KiB
#17 Wrong Answer Read -1, expect 18. 3ms 412.0 KiB
#18 Accepted 3ms 328.0 KiB
#19 Accepted 3ms 412.0 KiB
#20 Accepted 3ms 296.0 KiB
#21 Accepted 4ms 412.0 KiB
#22 Accepted 3ms 412.0 KiB
#23 Accepted 3ms 412.0 KiB
#24 Accepted 4ms 412.0 KiB
#25 Wrong Answer Read 91, expect 19. 3ms 412.0 KiB
#26 Wrong Answer Read 54, expect 45. 3ms 412.0 KiB
#27 Wrong Answer Read 42, expect 24. 3ms 412.0 KiB
#28 Accepted 4ms 412.0 KiB
#29 Accepted 4ms 416.0 KiB
#30 Accepted 3ms 412.0 KiB
#31 Accepted 4ms 412.0 KiB
#32 Accepted 3ms 412.0 KiB
#33 Accepted 3ms 412.0 KiB
#34 Accepted 3ms 412.0 KiB
#35 Accepted 3ms 412.0 KiB
#36 Accepted 4ms 408.0 KiB
#37 Accepted 4ms 412.0 KiB
#38 Accepted 9ms 356.0 KiB
#39 Accepted 3ms 412.0 KiB
#40 Accepted 5ms 412.0 KiB
#41 Accepted 3ms 412.0 KiB
#42 Accepted 5ms 412.0 KiB
#43 Accepted 6ms 372.0 KiB
#44 Accepted 5ms 412.0 KiB
#45 Accepted 3ms 412.0 KiB
#46 Accepted 4ms 412.0 KiB
#47 Accepted 3ms 412.0 KiB
#48 Accepted 3ms 412.0 KiB
#49 Accepted 5ms 412.0 KiB
#50 Accepted 4ms 412.0 KiB
#51 Accepted 4ms 408.0 KiB
#52 Accepted 4ms 412.0 KiB
#53 Accepted 4ms 416.0 KiB
#54 Accepted 4ms 412.0 KiB
#55 Accepted 4ms 408.0 KiB
#56 Accepted 3ms 284.0 KiB
#57 Accepted 4ms 412.0 KiB
#58 Accepted 4ms 412.0 KiB
#59 Accepted 3ms 332.0 KiB
#60 Accepted 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P1343 1B Split
语言
C++
递交时间
2023-08-16 14:35:16
评测时间
2023-08-16 14:35:16
评测机
分数
98
总耗时
247ms
峰值内存
416.0 KiB