记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:17:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   17 |    if (a[j]<a[j-1])
      |    ^~
foo.cc:19:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   19 |     cnt++;
      |     ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 45, expect 7. 1ms 384.0 KiB
#2 Wrong Answer Read 190, expect 17. 1ms 256.0 KiB
#3 Wrong Answer Read 4950, expect 96. 2ms 256.0 KiB
#4 Wrong Answer Read 19900, expect 194. 2ms 256.0 KiB
#5 Runtime Error Segmentation fault 2ms 384.0 KiB
#6 Runtime Error Segmentation fault 4ms 384.0 KiB
#7 Runtime Error Segmentation fault 1ms 384.0 KiB
#8 Runtime Error Segmentation fault 1ms 384.0 KiB
#9 Runtime Error Segmentation fault 3ms 384.0 KiB
#10 Runtime Error Segmentation fault 1ms 384.0 KiB

信息

递交者
类型
递交
题目
4 排序中的交换次数
比赛
2022暑期青少年社团(告别赛)
语言
C++
递交时间
2022-08-21 21:21:01
评测时间
2022-08-21 21:21:01
评测机
分数
0
总耗时
24ms
峰值内存
384.0 KiB