记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:5:32: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int n,s,a[10000],x=1,y=n,mid=x+y>>1;
                               ~^~
foo.cc:5:23: warning: 'n' is used uninitialized in this function [-Wuninitialized]
  int n,s,a[10000],x=1,y=n,mid=x+y>>1;
                       ^

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-10T07:27:15.938Z","handle":"2020-07-10T07:27:15.938Z","cache_start":"2020-07-10T07:27:15.947Z","read_cases":"2020-07-10T07:27:16.079Z","judge":"2020-07-10T07:27:16.080Z","done":"2020-07-10T07:27:17.532Z"}
# 状态 耗时 内存占用
#1 Wrong Answer 读取到 -1 ,应为 6 1ms 256.0 KiB
#2 Wrong Answer 读取到 -1 ,应为 1 1ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Wrong Answer 读取到 -1 ,应为 18 1ms 256.0 KiB
#5 Wrong Answer 读取到 -1 ,应为 17 1ms 256.0 KiB
#6 Wrong Answer 读取到 -1 ,应为 1 1ms 256.0 KiB
#7 Wrong Answer 读取到 -1 ,应为 1 0ms 256.0 KiB

信息

递交者
类型
递交
题目
二分查找(binary)
题目数据
下载
语言
C++
递交时间
2019-07-03 11:33:05
评测时间
2020-07-10 15:27:15
评测机
分数
10
总耗时
8ms
峰值内存
256.0 KiB