记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:8:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    8 |   scanf("%d",&a[i]);
      |   ~~~~~^~~~~~~~~~~~
foo.cc:21:8: warning: 'mid' may be used uninitialized in this function [-Wmaybe-uninitialized]
   21 |  cout<<mid;
      |        ^~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 7, expect 6. 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Wrong Answer Read 2, expect -1. 3ms 384.0 KiB
#4 Wrong Answer Read 59, expect 18. 3ms 384.0 KiB
#5 Wrong Answer Read 47, expect 17. 2ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
二分查找(binary)
题目数据
下载
语言
C++
递交时间
2022-06-13 20:07:37
评测时间
2022-06-13 20:07:37
评测机
分数
50
总耗时
18ms
峰值内存
384.0 KiB