Runtime Error

foo.cc: In function 'int search(int*, int, int)':
foo.cc:11:1: warning: control reaches end of non-void function [-Wreturn-type]
   11 | }
      | ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 10, expect 7. 4ms 256.0 KiB
#2 Wrong Answer Read 20, expect 17. 2ms 256.0 KiB
#3 Wrong Answer Read 100, expect 96. 9ms 384.0 KiB
#4 Runtime Error Segmentation fault 7ms 384.0 KiB
#5 Runtime Error Segmentation fault 9ms 512.0 KiB
#6 Runtime Error Segmentation fault 16ms 384.0 KiB
#7 Runtime Error Segmentation fault 9ms 384.0 KiB
#8 Runtime Error Segmentation fault 14ms 384.0 KiB
#9 Runtime Error Segmentation fault 15ms 384.0 KiB
#10 Runtime Error Segmentation fault 8ms 512.0 KiB

信息

递交者
类型
递交
题目
P1220 4 排序中的交换次数
语言
C++
递交时间
2022-08-21 22:25:29
评测时间
2022-08-21 22:25:29
评测机
分数
0
总耗时
97ms
峰值内存
512.0 KiB