Runtime Error
foo.cc: In function 'int X(int, int)':
foo.cc:14:1: warning: control reaches end of non-void function [-Wreturn-type]
14 | }
| ^
foo.cc: In function 'int Y(int, int)':
foo.cc:23:1: warning: control reaches end of non-void function [-Wreturn-type]
23 | }
| ^
foo.cc:15:5: warning: infinite recursion detected [-Winfinite-recursion]
15 | int Y(int x, int y)
| ^
foo.cc:21:25: note: recursive call
21 | return Y(x + 1, y);
| ~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1412 Problem 6A. 岛屿数量
- 语言
- C++
- 递交时间
- 2023-05-30 21:29:52
- 评测时间
- 2023-05-30 21:29:52
- 评测机
- 分数
- 0
- 总耗时
- 3ms
- 峰值内存
- 668.0 KiB