/ 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 6ms 6.25 MiB
#2 Accepted 6ms 6.25 MiB
#3 Accepted 5ms 6.348 MiB
#4 Accepted 7ms 6.375 MiB
#5 Accepted 7ms 6.25 MiB
#6 Accepted 7ms 6.25 MiB
#7 Accepted 5ms 6.371 MiB
#8 Accepted 34ms 6.25 MiB
#9 Accepted 647ms 8.875 MiB
#10 Time Exceeded ≥1004ms ≥11.125 MiB

信息

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