记录详情

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:49:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   49 |         int mid = nd[p].L + nd[p].R >> 1;
      |                   ~~~~~~~~^~~~~~~~~
foo.cc: In member function 'void tree::changeTree(int, int)':
foo.cc:67:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   67 |         int mid = nd[p].L + nd[p].R >> 1;
      |                   ~~~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 651547, expect 0. 45ms 27.875 MiB
#2 Runtime Error Floating point exception 47ms 28.0 MiB
#3 Runtime Error Floating point exception 32ms 27.992 MiB
#4 Wrong Answer Read 11869735, expect 728120. 28ms 27.875 MiB
#5 Wrong Answer Read 0, expect 15552315. 27ms 27.875 MiB
#6 Wrong Answer Read 3504, expect 561. 26ms 27.875 MiB
#7 Runtime Error Floating point exception 29ms 28.0 MiB
#8 Runtime Error Floating point exception 268ms 30.242 MiB
#9 Accepted 818ms 31.242 MiB
#10 Runtime Error Floating point exception 203ms 30.242 MiB

信息

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