Runtime Error

foo.cc: In function 'int main()':
foo.cc:17:67: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   17 |                         if(a[j].di>a[imax].di||a[j].di==a[imax].di&&a[j].nu<a[imax].nu)imax=j;
      |                                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 5ms 412.0 KiB
#2 Wrong Answer Standard answer longer than user output. 6ms 332.0 KiB
#3 Runtime Error Segmentation fault 5ms 412.0 KiB
#4 Runtime Error Segmentation fault 6ms 412.0 KiB
#5 Runtime Error Segmentation fault 7ms 456.0 KiB
#6 Runtime Error Segmentation fault 7ms 412.0 KiB
#7 Runtime Error Segmentation fault 5ms 412.0 KiB
#8 Runtime Error Segmentation fault 6ms 412.0 KiB
#9 Runtime Error Segmentation fault 5ms 412.0 KiB
#10 Accepted 2ms 412.0 KiB

信息

递交者
类型
递交
题目
P1900 假期作业
语言
C++
递交时间
2023-07-15 11:02:44
评测时间
2023-07-15 11:02:44
评测机
分数
10
总耗时
58ms
峰值内存
456.0 KiB