记录详情

Time Exceeded

foo.cc: In member function 'void tree::build(int, int, int)':
foo.cc:19:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   19 |         int mid = L + R >> 1;
      |                   ~~^~~
foo.cc: In member function 'void tree::modify(int, int, int, int)':
foo.cc:29:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   29 |         int mid = nd[p].L + nd[p].R >> 1;
      |                   ~~~~~~~~^~~~~~~~~
foo.cc: In member function 'void tree::query(int, int)':
foo.cc:42:27: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   42 |         int mid = nd[p].L + nd[p].R >> 1;
      |                   ~~~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 21ms 512.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 7ms 384.0 KiB
#4 Accepted 18ms 384.0 KiB
#5 Accepted 16ms 512.0 KiB
#6 Accepted 19ms 384.0 KiB
#7 Accepted 13ms 384.0 KiB
#8 Time Exceeded ≥5097ms ≥23.242 MiB
#9 Time Exceeded ≥5099ms ≥23.367 MiB
#10 Time Exceeded ≥5103ms ≥23.242 MiB

信息

递交者
类型
递交
题目
P1384 Problem C. Segtree Master
语言
C++
递交时间
2022-07-09 17:35:28
评测时间
2022-07-09 17:35:28
评测机
分数
70
总耗时
≥15400ms
峰值内存
≥23.367 MiB