/ 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 Wrong Answer 10ms 6.375 MiB
#2 Wrong Answer 10ms 6.25 MiB
#3 Wrong Answer 11ms 6.25 MiB
#4 Wrong Answer 10ms 6.25 MiB
#5 Wrong Answer 6ms 6.324 MiB
#6 Wrong Answer 11ms 6.352 MiB
#7 Wrong Answer 7ms 6.25 MiB
#8 Wrong Answer 44ms 6.203 MiB
#9 Wrong Answer 834ms 8.84 MiB
#10 Time Exceeded ≥1003ms ≥9.332 MiB

信息

递交者
类型
递交
题目
P1845 花匠
语言
C++
递交时间
2017-11-08 19:37:29
评测时间
2017-11-08 19:37:29
评测机
分数
0
总耗时
≥1951ms
峰值内存
≥9.332 MiB