Wrong Answer

foo.cc: In function 'int main()':
foo.cc:33:12: warning: unused variable 'M' [-Wunused-variable]
   33 |       char M,F;
      |            ^
foo.cc:33:14: warning: unused variable 'F' [-Wunused-variable]
   33 |       char M,F;
      |              ^
foo.cc:21:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   21 |  {  scanf("%d %s %d %f",&s[i].num,s[i].name,&s[i].sex,&s[i].score);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 99.000000, expect 99. 2ms 512.0 KiB

信息

递交者
类型
递交
题目
P1151 结构体-学生信息处理3
语言
C++
递交时间
2022-04-01 10:11:04
评测时间
2022-04-01 10:11:04
评测机
分数
0
总耗时
2ms
峰值内存
512.0 KiB