/ WHOJ /

记录详情

Runtime Error

foo.cc: In function 'int maketree(int, int)':
foo.cc:13:34: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   13 |         R[node]=maketree((l+r)>>1+1,r);
      |                                 ~^~
foo.cc: In function 'int update(int, int, int, int)':
foo.cc:28:47: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   28 |                 R[node]=update(R[pre],(l+r)>>1+1,r,x);
      |                                              ~^~
foo.cc: In function 'int query(int, int, int, int, int)':
foo.cc:40:40: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   40 |         return query(R[u],R[v],(l+r)>>1+1,r,k-x);
      |                                       ~^~
正在同步测试数据,请稍后
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 417ms 176.52 MiB
#2 Runtime Error Segmentation fault 334ms 176.492 MiB
#3 Runtime Error Segmentation fault 216ms 176.492 MiB
#4 Runtime Error Segmentation fault 206ms 176.617 MiB
#5 Runtime Error Segmentation fault 228ms 176.492 MiB
#6 Runtime Error Segmentation fault 178ms 176.496 MiB
#7 Runtime Error Segmentation fault 219ms 176.465 MiB
#8 Memory Exceeded ≥580ms ≥256.016 MiB
#9 Runtime Error Segmentation fault 164ms 176.508 MiB
#10 Runtime Error Segmentation fault 189ms 176.617 MiB

信息

递交者
类型
递交
题目
P1179 【模板】可持久化线段树 2
题目数据
下载
语言
C++
递交时间
2022-06-04 19:14:21
评测时间
2022-08-17 19:39:05
评测机
分数
0
总耗时
2737ms
峰值内存
256.016 MiB