Runtime Error
foo.c: In function 'main': foo.c:9:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=] 9 | scanf("%d",n); | ~^ ~ | | | | | int | int * foo.c:9:9: warning: 'n' is used uninitialized [-Wuninitialized] 9 | scanf("%d",n); | ^~~~~~~~~~~~~ foo.c:17:9: warning: 'num' may be used uninitialized in this function [-Wmaybe-uninitialized] 17 | printf("%d",num); | ^~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1024 兔子数列
- 语言
- C
- 递交时间
- 2022-08-18 18:45:59
- 评测时间
- 2022-08-18 18:45:59
- 评测机
- 分数
- 0
- 总耗时
- 2ms
- 峰值内存
- 256.0 KiB