记录详情

Runtime Error

foo.cc: In member function 'void tree::build(int, int, int)':
foo.cc:21:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   21 |         int mid = L + R >> 1;
      |                   ~~^~~
foo.cc: In member function 'void tree::modify(int, int, int, int)':
foo.cc:31:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   31 |         int mid = nd[p].L + nd[p].R >> 1;
      |                   ~~~~~~~~^~~~~~~~~
foo.cc: In member function 'void tree::query(int, int)':
foo.cc:45:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   45 |         int mid = nd[p].L + nd[p].R >> 1;
      |                   ~~~~~~~~^~~~~~~~~
foo.cc: In member function 'void tree::changeTree(int, int)':
foo.cc:60:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   60 |         int mid = nd[p].L + nd[p].R >> 1;
      |                   ~~~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 3ms 384.0 KiB
#2 Runtime Error Floating point exception 3ms 384.0 KiB
#3 Runtime Error Floating point exception 2ms 512.0 KiB
#4 Runtime Error Segmentation fault 2ms 384.0 KiB
#5 Runtime Error Segmentation fault 3ms 384.0 KiB
#6 Runtime Error Segmentation fault 2ms 512.0 KiB
#7 Runtime Error Segmentation fault 4ms 384.0 KiB
#8 Runtime Error Segmentation fault 5ms 384.0 KiB
#9 Runtime Error Segmentation fault 3ms 384.0 KiB
#10 Runtime Error Segmentation fault 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1384 Problem C. Segtree Master
语言
C++
递交时间
2022-07-10 03:45:41
评测时间
2022-07-10 03:45:41
评测机
分数
0
总耗时
35ms
峰值内存
512.0 KiB