Runtime Error
foo.c:2:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2 | main(){ | ^~~~ 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",score[i]); | ~^ ~~~~~~~~ | | | | int * int foo.c:11:20: warning: ‘j’ is used uninitialized [-Wuninitialized] 11 | for(int j;j<N;j++){ | ~^~ foo.c:11:17: note: ‘j’ was declared here 11 | for(int j;j<N;j++){ | ^
正在同步测试数据,请稍后
信息
- 递交者
- 类型
- 递交
- 题目
- P1058 G7-1 统计不及格人数
- 语言
- C
- 递交时间
- 2024-09-24 18:06:07
- 评测时间
- 2024-09-24 18:06:07
- 评测机
- 分数
- 0
- 总耗时
- 6ms
- 峰值内存
- 548.0 KiB