Wrong Answer
/in/foo.c: In function 'main': /in/foo.c:13:9: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[20]' [-Wformat=] scanf("%s %d %d %c %c %d",&c1,&a,&b,&c,&d,&e); ^ /in/foo.c:9:25: warning: unused variable 'c3' [-Wunused-variable] char c1[20];char c2[20],c3[20]; ^~ /in/foo.c:38:1: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized] printf("%s\n%d\n%d\n",c2,f[max],s); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1001 谁拿了最多奖学金
- 语言
- C
- 递交时间
- 2017-11-08 13:46:44
- 评测时间
- 2017-11-08 13:46:44
- 评测机
- 分数
- 0
- 总耗时
- 30ms
- 峰值内存
- 256.0 KiB