Wrong Answer
/in/foo.cc: In function 'int main()': /in/foo.cc:13:109: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[30]' [-Wformat=] for (int i = 0; scanf("%s %d %d %d %d %d", &stu[i].a, &stu[i].b, &stu[i].c, &stu[i].d, &stu[i].e, &stu[i].f) != EOF;) { ^ /in/foo.cc:9:6: warning: variable 'temp' set but not used [-Wunused-but-set-variable] int temp; ^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1001 谁拿了最多奖学金
- 语言
- C++
- 递交时间
- 2021-11-03 19:47:38
- 评测时间
- 2021-11-03 19:47:38
- 评测机
- 分数
- 0
- 总耗时
- 19ms
- 峰值内存
- 392.0 KiB