Runtime Error

foo.cc: In function 'int main()':
foo.cc:16:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   16 |    if(a[i]<a[j]||a[i]==a[j]&&b[i]>b[j])
      |                  ~~~~~~~~~~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 32ms 384.0 KiB
#2 Accepted 29ms 384.0 KiB
#3 Runtime Error Segmentation fault 13ms 640.0 KiB
#4 Runtime Error Segmentation fault 15ms 640.0 KiB
#5 Runtime Error Segmentation fault 36ms 640.0 KiB
#6 Runtime Error Segmentation fault 14ms 640.0 KiB
#7 Runtime Error Segmentation fault 26ms 632.0 KiB
#8 Runtime Error Segmentation fault 12ms 640.0 KiB
#9 Runtime Error Segmentation fault 12ms 640.0 KiB
#10 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1900 假期作业
语言
C++
递交时间
2022-06-11 11:30:46
评测时间
2022-06-11 11:30:46
评测机
分数
30
总耗时
195ms
峰值内存
640.0 KiB