/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In member function 'void Segment_Tree::Modify(int, int, int, int, int)':
/in/foo.cc:30: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:37:24: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int res = 0, mid = l + r >> 1;
                      ~~^~~
# 状态 耗时 内存占用
#1 Accepted 17ms 8.258 MiB
#2 Accepted 14ms 8.332 MiB
#3 Accepted 12ms 8.375 MiB
#4 Accepted 13ms 8.375 MiB
#5 Accepted 16ms 8.25 MiB
#6 Accepted 18ms 8.215 MiB
#7 Accepted 12ms 8.25 MiB
#8 Accepted 43ms 8.363 MiB
#9 Accepted 671ms 8.875 MiB
#10 Time Exceeded ≥1001ms ≥13.0 MiB

信息

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