Wrong Answer
foo.cc: In function 'int main()': foo.cc:37:81: warning: ' ' flag used with '%c' gnu_printf format [-Wformat=] printf("%-8d %-8s% -8c%-8.0f\n",s[i].num,s[i].name,s[i].sex?'M':'F',s[i].score); ^ foo.cc:21:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %s %d %f",&s[i].num,s[i].name,&s[i].sex,&s[i].score); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1151 结构体-学生信息处理3
- 语言
- C++
- 递交时间
- 2021-11-07 18:31:15
- 评测时间
- 2021-11-07 18:31:15
- 评测机
- 分数
- 0
- 总耗时
- 1ms
- 峰值内存
- 344.0 KiB