Runtime Error
foo.c: In function 'main': foo.c:14: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:14: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:58:50
- 评测时间
- 2021-01-28 09:58:50
- 评测机
- 分数
- 40
- 总耗时
- 140ms
- 峰值内存
- 7.996 MiB