记录详情

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:23:6:
/nix/store/1x1q5sqa0ilbi8fz7aayk02pjy5g7jhh-gcc-12.3.0/include/c++/12.3.0/bits/stl_algo.h:1849:32: warning: array subscript 16 is outside array bounds of 'int [10]' [-Warray-bounds]
 1849 |           std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
      |           ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:20:13: note: at offset 64 into object 'a' of size 40
   20 |         int a[10],n=0;
      |             ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 412.0 KiB
#2 Accepted 3ms 412.0 KiB
#3 Accepted 3ms 332.0 KiB
#4 Wrong Answer Read 360, expect 36. 3ms 412.0 KiB
#5 Accepted 3ms 284.0 KiB
#6 Wrong Answer Read 60, expect 6. 3ms 284.0 KiB
#7 Wrong Answer Read 980, expect 98. 3ms 412.0 KiB
#8 Wrong Answer Read 460, expect 46. 3ms 412.0 KiB
#9 Accepted 5ms 360.0 KiB
#10 Accepted 3ms 412.0 KiB
#11 Wrong Answer Read 280, expect 28. 3ms 412.0 KiB
#12 Wrong Answer Read 780, expect 78. 3ms 332.0 KiB
#13 Wrong Answer Read 140, expect 14. 3ms 412.0 KiB
#14 Accepted 3ms 412.0 KiB
#15 Wrong Answer Read 340, expect 34. 5ms 368.0 KiB
#16 Accepted 3ms 412.0 KiB
#17 Wrong Answer Read 180, expect 18. 3ms 412.0 KiB
#18 Accepted 3ms 412.0 KiB
#19 Accepted 3ms 412.0 KiB
#20 Accepted 4ms 412.0 KiB
#21 Accepted 3ms 412.0 KiB
#22 Accepted 3ms 284.0 KiB
#23 Accepted 4ms 412.0 KiB
#24 Accepted 3ms 412.0 KiB
#25 Wrong Answer Read 190, expect 19. 3ms 412.0 KiB
#26 Wrong Answer Read 450, expect 45. 3ms 388.0 KiB
#27 Wrong Answer Read 240, expect 24. 3ms 412.0 KiB
#28 Accepted 3ms 412.0 KiB
#29 Accepted 3ms 408.0 KiB
#30 Accepted 3ms 412.0 KiB
#31 Accepted 3ms 412.0 KiB
#32 Accepted 3ms 412.0 KiB
#33 Accepted 3ms 412.0 KiB
#34 Wrong Answer Read 1248454760, expect 124845476. 5ms 412.0 KiB
#35 Accepted 3ms 412.0 KiB
#36 Accepted 4ms 328.0 KiB
#37 Wrong Answer Read -1801868062, expect 678806653. 4ms 328.0 KiB
#38 Accepted 8ms 412.0 KiB
#39 Accepted 3ms 412.0 KiB
#40 Wrong Answer Read -293150346, expect 400181695. 4ms 412.0 KiB
#41 Accepted 4ms 412.0 KiB
#42 Accepted 6ms 412.0 KiB
#43 Accepted 6ms 412.0 KiB
#44 Accepted 5ms 284.0 KiB
#45 Wrong Answer Read 2143566880, expect 214356688. 3ms 412.0 KiB
#46 Wrong Answer Read 40811844, expect 433577914. 4ms 412.0 KiB
#47 Wrong Answer Read -310379836, expect 398458746. 3ms 412.0 KiB
#48 Wrong Answer Read 137427200, expect 13742720. 3ms 412.0 KiB
#49 Accepted 6ms 412.0 KiB
#50 Wrong Answer Read -1992124402, expect 659781019. 4ms 332.0 KiB
#51 Accepted 5ms 412.0 KiB
#52 Wrong Answer Read 788395720, expect 209783758. 3ms 412.0 KiB
#53 Wrong Answer Read 113345980, expect 105938134. 5ms 364.0 KiB
#54 Accepted 5ms 412.0 KiB
#55 Accepted 4ms 284.0 KiB
#56 Wrong Answer Read -287490846, expect 400747645. 3ms 412.0 KiB
#57 Accepted 4ms 356.0 KiB
#58 Wrong Answer Read 1088512670, expect 108851267. 4ms 332.0 KiB
#59 Wrong Answer Read -1927308756, expect 236765854. 4ms 412.0 KiB
#60 Wrong Answer Read -2062884256, expect 223208304. 4ms 412.0 KiB

信息

递交者
类型
递交
题目
P1343 1B Split
语言
C++
递交时间
2023-08-16 15:40:26
评测时间
2023-08-16 15:40:26
评测机
分数
68
总耗时
257ms
峰值内存
412.0 KiB