/ Vijos /

记录详情

Accepted

In file included from /nix/store/dm8k43g793kzl9rc4s12hh2fdwxwsb67-gcc/include/c++/12.3.0/algorithm:61,
                 from foo.cc:6:
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/dm8k43g793kzl9rc4s12hh2fdwxwsb67-gcc/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/dm8k43g793kzl9rc4s12hh2fdwxwsb67-gcc/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/dm8k43g793kzl9rc4s12hh2fdwxwsb67-gcc/include/c++/12.3.0/bits/stl_algo.h:1932:5,
    inlined from 'void std::sort(_RAIter, _RAIter) [with _RAIter = int*]' at /nix/store/dm8k43g793kzl9rc4s12hh2fdwxwsb67-gcc/include/c++/12.3.0/bits/stl_algo.h:4820:18,
    inlined from 'int main()' at foo.cc:48:5:
/nix/store/dm8k43g793kzl9rc4s12hh2fdwxwsb67-gcc/include/c++/12.3.0/bits/stl_algo.h:1849:32: warning: array subscript 17 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:9:5: note: at offset 68 into object 's' of size 40
    9 | int s[10],ans,alls;
      |     ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Accepted 4ms 412.0 KiB
#6 Accepted 4ms 412.0 KiB
#7 Accepted 4ms 412.0 KiB
#8 Accepted 4ms 412.0 KiB
#9 Accepted 3ms 412.0 KiB
#10 Accepted 4ms 412.0 KiB
#11 Accepted 4ms 412.0 KiB
#12 Accepted 3ms 412.0 KiB
#13 Accepted 4ms 412.0 KiB
#14 Accepted 3ms 332.0 KiB
#15 Accepted 4ms 412.0 KiB
#16 Accepted 4ms 412.0 KiB
#17 Accepted 4ms 412.0 KiB
#18 Accepted 4ms 412.0 KiB
#19 Accepted 7ms 412.0 KiB
#20 Accepted 3ms 412.0 KiB
#21 Accepted 4ms 328.0 KiB
#22 Accepted 158ms 404.0 KiB
#23 Accepted 351ms 412.0 KiB
#24 Accepted 893ms 404.0 KiB
#25 Accepted 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1585 循环赛
语言
C++
递交时间
2023-08-13 14:44:14
评测时间
2023-08-13 14:44:15
评测机
分数
100
总耗时
1498ms
峰值内存
412.0 KiB