Runtime Error
foo.c: In function 'main': foo.c:4:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=] 4 | scanf("%d",M); | ~^ ~ | | | | | int | int * foo.c:4:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] 4 | scanf("%d",M); | ^~~~~~~~~~~~~ foo.c:4:2: warning: 'M' is used uninitialized in this function [-Wuninitialized] 4 | scanf("%d",M); | ^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1302 连续自然数和
- 语言
- C
- 递交时间
- 2022-03-18 19:41:15
- 评测时间
- 2022-03-18 19:41:15
- 评测机
- 分数
- 0
- 总耗时
- 14ms
- 峰值内存
- 384.0 KiB