记录详情

Runtime Error

foo.cc: In member function 'void tree::build(int, int, int)':
foo.cc:24:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   24 |         int mid = L + R >> 1;
      |                   ~~^~~
foo.cc: In member function 'void tree::modify(int, int, int, int)':
foo.cc:34:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   34 |         int mid = nd[p].L + nd[p].R >> 1;
      |                   ~~~~~~~~^~~~~~~~~
foo.cc: In member function 'void tree::query(int, int)':
foo.cc:51:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   51 |         int mid = nd[p].L + nd[p].R >> 1;
      |                   ~~~~~~~~^~~~~~~~~
foo.cc: In member function 'void tree::changeTree(int, int)':
foo.cc:66:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   66 |         int mid = nd[p].L + nd[p].R >> 1;
      |                   ~~~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Hangup 50ms 27.867 MiB
#2 Runtime Error Hangup 52ms 27.867 MiB
#3 Runtime Error Hangup 52ms 27.867 MiB
#4 Runtime Error Hangup 42ms 27.867 MiB
#5 Runtime Error Hangup 37ms 27.867 MiB
#6 Runtime Error Hangup 40ms 27.875 MiB
#7 Runtime Error Hangup 32ms 27.867 MiB
#8 Runtime Error Hangup 198ms 30.117 MiB
#9 Accepted 1042ms 31.121 MiB
#10 Runtime Error Hangup 211ms 30.242 MiB

信息

递交者
类型
递交
题目
P1384 Problem C. Segtree Master
语言
C++
递交时间
2022-07-10 04:11:31
评测时间
2022-07-10 04:11:31
评测机
分数
10
总耗时
1762ms
峰值内存
31.121 MiB