Runtime Error
foo.c: In function 'main': foo.c:15:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=] scanf("%d",&a[i]); ~^ ~~~~~ %lld foo.c:12:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&k); ^~~~~~~~~~~~~~~~~~~~ foo.c:15:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&a[i]); ^~~~~~~~~~~~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1167 连续数之和
- 语言
- C
- 递交时间
- 2021-01-28 09:59:32
- 评测时间
- 2021-01-28 09:59:32
- 评测机
- 分数
- 10
- 总耗时
- 149ms
- 峰值内存
- 7.945 MiB