记录详情

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:40:5: warning: no return statement in function returning non-void [-Wreturn-type]
   40 |    }}
      |     ^
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 Runtime Error Aborted 3ms 384.0 KiB
#2 Runtime Error Aborted 2ms 384.0 KiB
#3 Runtime Error Aborted 143ms 38.777 MiB
#4 Runtime Error Segmentation fault 160ms 51.957 MiB
#5 Runtime Error Aborted 3ms 384.0 KiB

信息

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