Compile Error
foo.cc: In function 'int main()': foo.cc:8:15: error: 'f' was not declared in this scope 8 | cout<<f(n); | ^ foo.cc: In function 'int f(int)': foo.cc:13:15: error: lvalue required as left operand of assignment 13 | if(n=1||n=2) | ~^~~ foo.cc:17:1: warning: control reaches end of non-void function [-Wreturn-type] 17 | } | ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1013 兔子数列
- 语言
- C++
- 递交时间
- 2023-08-23 21:26:04
- 评测时间
- 2023-08-23 21:26:04
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes