Compile Error
foo.cc: In function 'int fibonacci(int)':
foo.cc:16:9: error: 'f' was not declared in this scope
  return f(n - 1) + f(n - 2);
         ^
foo.cc: In function 'int main()':
foo.cc:21:8: error: 'f' was not declared in this scope
  int s=f(n);
        ^
foo.cc:21:6: warning: unused variable 's' [-Wunused-variable]
  int s=f(n);
      ^
  自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1911 斐波那契之函数调用
 - 语言
 - C++
 - 递交时间
 - 2021-05-20 06:55:15
 - 评测时间
 - 2021-05-20 06:55:15
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 0ms
 - 峰值内存
 - 0 Bytes