记录详情

Time Exceeded

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:38:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   38 |         int mid = nd[p].L + nd[p].R >> 1;
      |                   ~~~~~~~~^~~~~~~~~
foo.cc: In member function 'void tree::query(int, int)':
foo.cc:59:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   59 |         int mid = nd[p].L + nd[p].R >> 1;
      |                   ~~~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 116ms 64.742 MiB
#2 Accepted 97ms 64.617 MiB
#3 Accepted 67ms 64.875 MiB
#4 Accepted 74ms 64.75 MiB
#5 Accepted 66ms 64.867 MiB
#6 Accepted 94ms 64.742 MiB
#7 Accepted 132ms 64.742 MiB
#8 Time Exceeded ≥5112ms ≥150.992 MiB
#9 Time Exceeded ≥5107ms ≥90.617 MiB
#10 Time Exceeded ≥5120ms ≥152.227 MiB

信息

递交者
类型
递交
题目
P1384 Problem C. Segtree Master
语言
C++
递交时间
2022-07-13 01:24:09
评测时间
2022-07-13 01:24:09
评测机
分数
70
总耗时
≥15989ms
峰值内存
≥152.227 MiB