Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:15:72: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
   15 |                         if(stu[j][4]>stu[i][4] || stu[j][4]==stu[i][4] && stu[j][1]>stu[i][1] || stu[j][4]==stu[i][4] && stu[j][1]==stu[i][1] && stu[j][0]<stu[i][0]) imin=j;
      |                                                   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:15:143: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
   15 |                         if(stu[j][4]>stu[i][4] || stu[j][4]==stu[i][4] && stu[j][1]>stu[i][1] || stu[j][4]==stu[i][4] && stu[j][1]==stu[i][1] && stu[j][0]<stu[i][0]) imin=j;
      |                                                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 2ms 768.0 KiB
#2 Wrong Answer Read 8, expect 11. 2ms 756.0 KiB
#3 Wrong Answer User output longer than standard answer. 2ms 536.0 KiB
#4 Wrong Answer User output longer than standard answer. 2ms 536.0 KiB
#5 Wrong Answer Standard answer longer than user output. 2ms 536.0 KiB
#6 Wrong Answer Read 106, expect 66. 2ms 764.0 KiB
#7 Wrong Answer Read 146, expect 10. 2ms 492.0 KiB
#8 Wrong Answer Standard answer longer than user output. 2ms 320.0 KiB
#9 Wrong Answer User output longer than standard answer. 2ms 536.0 KiB
#10 Wrong Answer Read 3, expect 6. 2ms 536.0 KiB

信息

递交者
类型
递交
比赛
2024.7.17暑期高级1班练习
语言
C++
递交时间
2024-07-18 14:48:47
评测时间
2024-07-18 14:48:47
评测机
分数
0
总耗时
27ms
峰值内存
768.0 KiB