Runtime Error
foo.c: In function 'main': foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&w); ^~~~~~~~~~~~~~ foo.c:7:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^~~~~~~~~~~~~~ foo.c:10:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]);//a[i]里是价格 ^~~~~~~~~~~~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1163 纪念品分组
- 语言
- C
- 递交时间
- 2021-01-25 14:35:55
- 评测时间
- 2021-01-25 14:35:55
- 评测机
- 分数
- 20
- 总耗时
- 132ms
- 峰值内存
- 440.0 KiB