Wrong Answer
foo.c: In function 'main': foo.c:12:13: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'double' [-Wformat=] printf("%ld\n", fibs(n)-pow(2,n-4)+1); ~~^ ~~~~~~~~~~~~~~~~~~~~ %f foo.c:8:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1105 6-4 步子走大了有点累
- 语言
- C
- 递交时间
- 2021-10-31 10:41:43
- 评测时间
- 2021-10-31 10:41:43
- 评测机
- 分数
- 0
- 总耗时
- 36ms
- 峰值内存
- 464.0 KiB