记录详情

Wrong Answer

foo.cc: In function 'void quick_sort(int*, int, int)':
foo.cc:10:37: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   10 |     int i = l-1, j = r + 1, x = q[l + r >> 1];
      |                                   ~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 2ms 256.0 KiB
#2 Wrong Answer User output longer than standard answer. 3ms 256.0 KiB
#3 Wrong Answer User output longer than standard answer. 1ms 256.0 KiB
#4 Wrong Answer User output longer than standard answer. 1ms 384.0 KiB
#5 Wrong Answer User output longer than standard answer. 3ms 256.0 KiB
#6 Wrong Answer User output longer than standard answer. 2ms 256.0 KiB
#7 Wrong Answer User output longer than standard answer. 5ms 256.0 KiB
#8 Wrong Answer User output longer than standard answer. 5ms 384.0 KiB
#9 Wrong Answer User output longer than standard answer. 5ms 384.0 KiB
#10 Wrong Answer User output longer than standard answer. 8ms 384.0 KiB

信息

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