/ Vijos /

记录详情

Wrong Answer

In file included from /nix/gcc/include/c++/13.2.0/algorithm:61,
                 from foo.cc:2:
In function ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Vec*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’,
    inlined from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Vec*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ at /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1854:5,
    inlined from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Vec*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ at /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1950:31,
    inlined from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Vec*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’ at /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1942:5,
    inlined from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = Vec*]’ at /nix/gcc/include/c++/13.2.0/bits/stl_algo.h:4861:18,
    inlined from ‘int main()’ at foo.cc:35:14:
/nix/gcc/include/c++/13.2.0/bits/stl_algo.h:1859:32: warning: array subscript 17 is outside array bounds of ‘Vec [12]’ [-Warray-bounds=]
 1859 |           std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
      |           ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function ‘int main()’:
foo.cc:8:2: note: at offset 136 into object ‘P’ of size 96
    8 | }P[12];
      |  ^
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 3ms 768.0 KiB
#2 Accepted 2ms 320.0 KiB
#3 Accepted 3ms 540.0 KiB
#4 Accepted 2ms 324.0 KiB
#5 Accepted 2ms 536.0 KiB
#6 Wrong Answer Read 20.68, expect 18.13. 2ms 536.0 KiB
#7 Wrong Answer Read 36.90, expect 31.17. 2ms 492.0 KiB
#8 Wrong Answer Read 22.00, expect 11.00. 2ms 320.0 KiB
#9 Accepted 2ms 536.0 KiB
#10 Accepted 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1233 @.@多边形面积
语言
C++
递交时间
2024-05-07 06:27:56
评测时间
2024-05-07 06:27:56
评测机
分数
70
总耗时
28ms
峰值内存
768.0 KiB