/ WHOJ /

记录详情

Wrong Answer

foo.cc: In function 'long long int e_search(long long int, long long int, long long int)':
foo.cc:40:26: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   40 |                 int mid=l+r>>1;
      |                         ~^~
foo.cc: In function 'int main()':
foo.cc:56:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   56 |                 if (a[i]>=m)
      |                    ^
foo.cc:63:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   63 |                 if (a[i]<<1>=m)
      |                    ^
Found 20 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 256.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 2ms 256.0 KiB
#5 Wrong Answer Read 19, expect 18. 2ms 256.0 KiB
#6 Accepted 2ms 256.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 2ms 256.0 KiB
#9 Accepted 2ms 256.0 KiB
#10 Accepted 3ms 384.0 KiB
#11 Accepted 1ms 256.0 KiB
#12 Accepted 3ms 384.0 KiB
#13 Accepted 4ms 384.0 KiB
#14 Wrong Answer Read 84, expect 83. 2ms 256.0 KiB
#15 Accepted 5ms 384.0 KiB
#16 Accepted 4ms 512.0 KiB
#17 Accepted 1ms 256.0 KiB
#18 Accepted 6ms 384.0 KiB
#19 Accepted 6ms 512.0 KiB
#20 Accepted 6ms 512.0 KiB

信息

递交者
类型
递交
题目
P1491 鸡国福利
题目数据
下载
语言
C++
递交时间
2022-08-10 18:36:06
评测时间
2022-08-11 15:41:14
评测机
分数
90
总耗时
70ms
峰值内存
512.0 KiB