记录详情

Runtime Error

foo.cc: In function 'int dfs(int, int)':
foo.cc:21:1: warning: no return statement in function returning non-void [-Wreturn-type]
   21 | }
      | ^
foo.cc: In function 'int main()':
foo.cc:31:25: warning: statement has no effect [-Wunused-value]
   31 |                 a[i][j] == 0;
      |                 ~~~~~~~~^~~~
foo.cc:38:8: warning: 'start_y' may be used uninitialized in this function [-Wmaybe-uninitialized]
   38 |     dfs(start_x, start_y);
      |     ~~~^~~~~~~~~~~~~~~~~~
foo.cc:38:8: warning: 'start_x' may be used uninitialized in this function [-Wmaybe-uninitialized]
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 5ms 412.0 KiB
#2 Runtime Error Segmentation fault 4ms 412.0 KiB
#3 Runtime Error Segmentation fault 3ms 412.0 KiB
#4 Runtime Error Segmentation fault 4ms 456.0 KiB
#5 Runtime Error Segmentation fault 4ms 412.0 KiB
#6 Runtime Error Segmentation fault 5ms 412.0 KiB
#7 Runtime Error Segmentation fault 5ms 412.0 KiB
#8 Runtime Error Segmentation fault 3ms 412.0 KiB
#9 Runtime Error Segmentation fault 5ms 412.0 KiB
#10 Runtime Error Segmentation fault 4ms 456.0 KiB

信息

递交者
类型
递交
题目
P1044 [蓝桥杯国赛 2021 中级组] 采摘园
语言
C++
递交时间
2023-06-17 20:54:55
评测时间
2023-06-17 20:54:56
评测机
分数
0
总耗时
46ms
峰值内存
456.0 KiB