记录详情

Runtime Error

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

信息

递交者
类型
递交
题目
P1384 Problem C. Segtree Master
语言
C++
递交时间
2022-07-10 02:16:12
评测时间
2022-07-10 02:16:13
评测机
分数
10
总耗时
1220ms
峰值内存
21.992 MiB