记录详情

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:52:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   52 |         int mid = nd[p].L + nd[p].R >> 1;
      |                   ~~~~~~~~^~~~~~~~~
foo.cc: In member function 'void tree::changeTree(int, int)':
foo.cc:68:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   68 |         int mid = nd[p].L + nd[p].R >> 1;
      |                   ~~~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 7969574, expect 0. 55ms 27.875 MiB
#2 Wrong Answer Read 16623058, expect 51305. 64ms 27.875 MiB
#3 Runtime Error User defined signal 2 45ms 27.875 MiB
#4 Wrong Answer Read 11869735, expect 728120. 42ms 27.875 MiB
#5 Wrong Answer 21a22,318 > 15552315 > 173451 37ms 27.875 MiB
#6 Wrong Answer Read 3504, expect 561. 51ms 27.875 MiB
#7 Wrong Answer Read 326, expect 0. 34ms 27.875 MiB
#8 Runtime Error Hangup 188ms 30.117 MiB
#9 Accepted 1035ms 31.117 MiB
#10 Runtime Error Hangup 218ms 30.117 MiB

信息

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