/ fastle /

记录详情

Accepted

/in/foo.cc: In member function 'void Segment_Tree::Insert(int&, int, int, int, int)':
/in/foo.cc:27:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int m=(LL)l+r>>1;//LL!
         ~~~~~^~
/in/foo.cc: In member function 'int Segment_Tree::Query(int, int, int, int, int)':
/in/foo.cc:33:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int m=(LL)l+r>>1,mid,t=sz[ls]-sz[son[y][0]];
         ~~~~~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:64:30: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int l=read(),r=read(),p=r-l+2>>1;
                           ~~~^~
# 状态 耗时 内存占用
#1 Accepted 4ms 12.199 MiB
#2 Accepted 4ms 12.195 MiB
#3 Accepted 5ms 12.293 MiB
#4 Accepted 6ms 14.301 MiB
#5 Accepted 18ms 20.09 MiB
#6 Accepted 19ms 15.184 MiB
#7 Accepted 18ms 15.512 MiB
#8 Accepted 19ms 17.32 MiB
#9 Accepted 215ms 132.906 MiB
#10 Accepted 218ms 132.41 MiB
#11 Accepted 213ms 136.875 MiB
#12 Accepted 213ms 135.297 MiB
#13 Accepted 700ms 132.957 MiB
#14 Accepted 697ms 135.91 MiB
#15 Accepted 672ms 133.598 MiB
#16 Accepted 686ms 132.902 MiB
#17 Accepted 690ms 134.293 MiB
#18 Accepted 713ms 132.094 MiB
#19 Accepted 679ms 135.402 MiB
#20 Accepted 693ms 127.34 MiB

信息

递交者
类型
递交
题目
P1002 双面间谍
语言
C++
递交时间
2019-03-20 11:46:41
评测时间
2019-03-20 11:46:41
评测机
分数
100
总耗时
6491ms
峰值内存
136.875 MiB