Runtime Error

foo.cc: In function 'int main()':
foo.cc:18:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   18 |    if(a[imax]<a[j]||a[imax]==a[j]&&b[imax]>b[j])
      |                     ~~~~~~~~~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 2783, expect 2274. 55ms 384.0 KiB
#2 Wrong Answer Read 2024, expect 2251. 53ms 448.0 KiB
#3 Runtime Error Segmentation fault 7ms 896.0 KiB
#4 Runtime Error Segmentation fault 10ms 760.0 KiB
#5 Runtime Error Segmentation fault 11ms 760.0 KiB
#6 Runtime Error Segmentation fault 11ms 768.0 KiB
#7 Runtime Error Segmentation fault 12ms 760.0 KiB
#8 Runtime Error Segmentation fault 6ms 760.0 KiB
#9 Runtime Error Segmentation fault 7ms 768.0 KiB
#10 Wrong Answer Read 2, expect 10. 8ms 512.0 KiB

信息

递交者
类型
递交
题目
P1900 假期作业
语言
C++
递交时间
2022-06-29 09:34:10
评测时间
2022-06-29 09:34:10
评测机
分数
0
总耗时
185ms
峰值内存
896.0 KiB