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 61ms 384.0 KiB
#2 Accepted 33ms 384.0 KiB
#3 Runtime Error Segmentation fault 9ms 512.0 KiB
#4 Runtime Error Segmentation fault 9ms 512.0 KiB
#5 Runtime Error Segmentation fault 16ms 512.0 KiB
#6 Runtime Error Segmentation fault 14ms 512.0 KiB
#7 Runtime Error Segmentation fault 6ms 512.0 KiB
#8 Runtime Error Segmentation fault 11ms 512.0 KiB
#9 Runtime Error Segmentation fault 12ms 512.0 KiB
#10 Accepted 4ms 384.0 KiB

信息

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