/ Vijos /

记录详情

Accepted

In file included from /usr/include/c++/12/algorithm:61,
                 from /in/foo.cc:18:
In function 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]',
    inlined from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]' at /usr/include/c++/12/bits/stl_algo.h:1844:5,
    inlined from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]' at /usr/include/c++/12/bits/stl_algo.h:1940:31,
    inlined from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]' at /usr/include/c++/12/bits/stl_algo.h:1932:5,
    inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = node*]' at /usr/include/c++/12/bits/stl_algo.h:4820:18,
    inlined from 'void work()' at /in/foo.cc:113:6:
/usr/include/c++/12/bits/stl_algo.h:1849:32: warning: array subscript 17 is outside array bounds of 'node [10]' [-Warray-bounds]
 1849 |           std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
      |           ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void work()':
/in/foo.cc:30:3: note: at offset 136 into object 'a' of size 80
   30 | } a[MAXN];
      |   ^
# 状态 耗时 内存占用
#1 Accepted 87ms 536.0 KiB
#2 Accepted 241ms 348.0 KiB
#3 Accepted 118ms 488.0 KiB
#4 Accepted 147ms 536.0 KiB
#5 Accepted 18ms 524.0 KiB
#6 Accepted 2ms 504.0 KiB
#7 Accepted 31ms 508.0 KiB
#8 Accepted 304ms 500.0 KiB
#9 Accepted 20ms 532.0 KiB
#10 Accepted 679ms 532.0 KiB

信息

递交者
类型
递交
题目
P1345 数独大赛
语言
C++
递交时间
2026-05-19 16:14:36
评测时间
2026-05-19 16:14:36
评测机
分数
100
总耗时
1653ms
峰值内存
536.0 KiB