Accepted
/in/foo.c: In function 'main': /in/foo.c:32:11: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[100]' [-Wformat=] scanf("%s %d %d %c %c %d",&stu[i].name,&stu[i].average,&stu[i].comment,&stu[i].isO,&stu[i].isWest,&stu[i].publish); ^ /in/foo.c:16:14: warning: variable 'j' set but not used [-Wunused-but-set-variable] int max,num,j; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1001 谁拿了最多奖学金
- 语言
- C
- 递交时间
- 2018-03-09 23:23:37
- 评测时间
- 2018-03-09 23:23:37
- 评测机
- 分数
- 100
- 总耗时
- 16ms
- 峰值内存
- 256.0 KiB