记录详情

Runtime Error

foo.cc: In function 'int bfs(int)':
foo.cc:23:21: warning: statement has no effect [-Wunused-value]
   23 |         { v[now.x+1]==1;
      |           ~~~~~~~~~~^~~
foo.cc:28:20: warning: statement has no effect [-Wunused-value]
   28 |         {v[now.x-1]==1;
      |          ~~~~~~~~~~^~~
foo.cc:34:23: warning: statement has no effect [-Wunused-value]
   34 |             v[now.x*2]==1;
      |             ~~~~~~~~~~^~~
foo.cc: In function 'int main()':
foo.cc:44:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   44 | scanf("%d%d",&n,&k);
      | ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Wrong Answer Read 4, expect 3. 3ms 384.0 KiB
#3 Wrong Answer Read 2, expect 4. 107ms 38.777 MiB
#4 Runtime Error Segmentation fault 130ms 51.957 MiB
#5 Wrong Answer Read 4, expect 3. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
抓住那头牛
语言
C++
递交时间
2022-03-11 21:17:27
评测时间
2022-03-11 21:17:27
评测机
分数
20
总耗时
246ms
峰值内存
51.957 MiB