/ ZYCode /

记录详情

Runtime Error

foo.cc: In function 'long long int query(long long int, long long int, long long int)':
foo.cc:44:83: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   44 |                                 for(int i=1;i<=n;i++)if(L[v]<=dfn[i]&&dfn[i]<=R[v]&&(anc[x][i]||anc[y][i])||L[x]<=dfn[i]&&dfn[i]<=R[x]||L[y]<=dfn[i]&&dfn[i]<=R[y])sm1=(sm1+a[i])%mod;
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:44:149: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   44 |                                 for(int i=1;i<=n;i++)if(L[v]<=dfn[i]&&dfn[i]<=R[v]&&(anc[x][i]||anc[y][i])||L[x]<=dfn[i]&&dfn[i]<=R[x]||L[y]<=dfn[i]&&dfn[i]<=R[y])sm1=(sm1+a[i])%mod;
      |                                                                                                                                         ~~~~~~~~~~~~^~~~~~~~~~~~~~
Found 50 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 868900960, expect 831979063. 12ms 2.695 MiB
#2 Wrong Answer Read 755871211, expect 622168966. 19ms 2.777 MiB
#3 Wrong Answer Read 459749291, expect 1213139357. 11ms 2.777 MiB
#4 Wrong Answer Read 524803316, expect 965654751. 8ms 2.777 MiB
#5 Wrong Answer Read 301058324, expect 197734535. 8ms 2.793 MiB
#6 Wrong Answer Read 384403510, expect 1156364439. 8ms 2.777 MiB
#7 Wrong Answer Read 352296306, expect 1076002228. 10ms 2.777 MiB
#8 Wrong Answer Read 1180174200, expect 545734107. 15ms 2.793 MiB
#9 Wrong Answer Read 668469705, expect 523328378. 11ms 2.727 MiB
#10 Wrong Answer Read 706428561, expect 481182918. 7ms 2.777 MiB
#11 Runtime Error Segmentation fault 8ms 2.926 MiB
#12 Time Exceeded ≥1100ms ≥2.777 MiB
#13 Runtime Error Segmentation fault 8ms 2.902 MiB
#14 Runtime Error Segmentation fault 8ms 2.902 MiB
#15 Runtime Error Segmentation fault 8ms 2.902 MiB
#16 Runtime Error Segmentation fault 7ms 2.902 MiB
#17 Runtime Error Segmentation fault 4ms 2.902 MiB
#18 Runtime Error Segmentation fault 5ms 2.902 MiB
#19 Runtime Error Segmentation fault 9ms 2.902 MiB
#20 Runtime Error Segmentation fault 5ms 2.902 MiB
#21 Runtime Error Segmentation fault 103ms 13.375 MiB
#22 Runtime Error Segmentation fault 102ms 13.457 MiB
#23 Runtime Error Segmentation fault 98ms 13.375 MiB
#24 Runtime Error Segmentation fault 76ms 13.414 MiB
#25 Runtime Error Segmentation fault 83ms 13.438 MiB
#26 Runtime Error Segmentation fault 56ms 13.375 MiB
#27 Runtime Error Segmentation fault 121ms 15.844 MiB
#28 Runtime Error Segmentation fault 86ms 16.621 MiB
#29 Runtime Error Segmentation fault 127ms 15.949 MiB
#30 Runtime Error Segmentation fault 128ms 16.02 MiB
#31 Runtime Error Segmentation fault 131ms 16.352 MiB
#32 Time Exceeded ≥1002ms ≥15.645 MiB
#33 Runtime Error Segmentation fault 114ms 15.762 MiB
#34 Runtime Error Segmentation fault 110ms 14.809 MiB
#35 Runtime Error Segmentation fault 112ms 15.117 MiB
#36 Runtime Error Segmentation fault 114ms 16.012 MiB
#37 Runtime Error Segmentation fault 121ms 15.512 MiB
#38 Runtime Error Segmentation fault 121ms 15.074 MiB
#39 Runtime Error Segmentation fault 122ms 13.316 MiB
#40 Runtime Error Segmentation fault 128ms 13.309 MiB
#41 Runtime Error Segmentation fault 128ms 13.297 MiB
#42 Runtime Error Segmentation fault 123ms 13.227 MiB
#43 Runtime Error Segmentation fault 71ms 13.211 MiB
#44 Runtime Error Segmentation fault 128ms 13.27 MiB
#45 Runtime Error Segmentation fault 95ms 13.25 MiB
#46 Runtime Error Segmentation fault 127ms 13.281 MiB
#47 Runtime Error Segmentation fault 77ms 13.23 MiB
#48 Runtime Error Segmentation fault 127ms 13.281 MiB
#49 Runtime Error Segmentation fault 76ms 13.266 MiB
#50 Runtime Error Segmentation fault 72ms 13.293 MiB

信息

递交者
类型
递交
题目
P1035 【ZYCode R6】Conflict
语言
C++
递交时间
2023-07-14 14:13:38
评测时间
2023-07-14 16:37:24
评测机
分数
0
总耗时
5377ms
峰值内存
16.621 MiB