Wrong Answer
/in/foo.cc: In function 'int main()':
/in/foo.cc:22:65: warning: format '%c' expects argument of type 'char*', but argument 4 has type 'int*' [-Wformat=]
   scanf("%d %s %c %f",&s[i].sno,s[i].sname,&s[i].sex,&s[i].score);
                                                                 ^
/in/foo.cc:28:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(s[i].sex=1)
                ^
/in/foo.cc:44:13: warning: 'l' is used uninitialized in this function [-Wuninitialized]
  cout<<s[l].score;
             ^~~~~
  信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1149 结构体-学生信息处理1
 - 语言
 - C++
 - 递交时间
 - 2021-11-13 18:49:25
 - 评测时间
 - 2021-11-13 18:49:25
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 2ms
 - 峰值内存
 - 400.0 KiB