Wrong Answer

foo.cc: In function 'int main()':
foo.cc:16:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   16 |                         if(s[i]>s[j]||s[i]==s[j]&&a[i]>a[j])
      |                                       ~~~~~~~~~~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 412.0 KiB
#2 Accepted 4ms 412.0 KiB
#3 Accepted 3ms 412.0 KiB
#4 Accepted 3ms 368.0 KiB
#5 Wrong Answer Read 214, expect 66. 4ms 328.0 KiB
#6 Wrong Answer Read 119, expect 96. 4ms 412.0 KiB
#7 Wrong Answer Read 122, expect 10. 4ms 412.0 KiB
#8 Wrong Answer Read 132, expect 13. 4ms 412.0 KiB
#9 Wrong Answer Read 131, expect 150. 6ms 340.0 KiB
#10 Accepted 3ms 324.0 KiB

信息

递交者
类型
递交
题目
P1455 奖学金
语言
C++
递交时间
2023-07-17 12:14:35
评测时间
2023-07-17 12:14:35
评测机
分数
50
总耗时
45ms
峰值内存
412.0 KiB