/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In member function 'void Segment_Tree::Modify(int, int, int, int, int)':
/in/foo.cc:31:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid = l + r >> 1;
             ~~^~~
/in/foo.cc: In member function 'int Segment_Tree::query(int, int, int, int, int)':
/in/foo.cc:39:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int res = 0, mid = l + r >> 1;
                      ~~^~~
# 状态 耗时 内存占用
#1 Accepted 16ms 6.352 MiB
#2 Accepted 6ms 6.25 MiB
#3 Accepted 17ms 6.25 MiB
#4 Accepted 20ms 6.25 MiB
#5 Accepted 13ms 6.375 MiB
#6 Accepted 18ms 6.352 MiB
#7 Accepted 23ms 6.25 MiB
#8 Accepted 48ms 6.25 MiB
#9 Accepted 687ms 6.75 MiB
#10 Time Exceeded ≥1005ms ≥10.742 MiB

信息

递交者
类型
递交
题目
P1845 花匠
语言
C++
递交时间
2017-11-08 19:40:05
评测时间
2017-11-08 19:40:05
评测机
分数
90
总耗时
≥1857ms
峰值内存
≥10.742 MiB