Wrong Answer

foo.cc: In function 'bool cp(xs, xs)':
foo.cc:10:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  return a.yw>b.yw || a.yw==b.yw && a.sx>b.sx;
                      ~~~~~~~~~~~^~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:13:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
  freopen("students.in","r",stdin);
  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:14:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
  freopen("students.out","w",stdout);
  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1,5 > 10002 91 67 > 10004 9 1ms 384.0 KiB
#2 Wrong Answer 0a1,7 > 10002 91 67 > 10004 9 1ms 408.0 KiB
#3 Wrong Answer 0a1,9 > 10008 95 68 > 10002 9 1ms 384.0 KiB
#4 Wrong Answer 0a1,9 > 10008 95 68 > 10002 9 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P2423 学生成绩(students)
比赛
初二数组专练10.29
语言
C++
递交时间
2021-10-29 21:29:46
评测时间
2021-10-29 21:29:46
评测机
分数
0
总耗时
7ms
峰值内存
408.0 KiB