Runtime Error

foo.cc: In function 'int main()':
foo.cc:15:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   15 |    if(a[i]<a[j]||a[i]==a[j]&&i>j)
      |                  ~~~~~~~~~~^~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 2324, expect 428. 21ms 384.0 KiB
#2 Wrong Answer Read 754, expect 2251. 20ms 384.0 KiB
#3 Runtime Error Segmentation fault 9ms 512.0 KiB
#4 Runtime Error Segmentation fault 6ms 512.0 KiB
#5 Runtime Error Segmentation fault 12ms 512.0 KiB
#6 Runtime Error Segmentation fault 7ms 512.0 KiB
#7 Runtime Error Segmentation fault 6ms 512.0 KiB
#8 Runtime Error Segmentation fault 5ms 512.0 KiB
#9 Runtime Error Segmentation fault 6ms 512.0 KiB
#10 Wrong Answer Read 5, expect 2. 1ms 384.0 KiB

信息

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