/ CWOI /

记录详情

Accepted

/in/foo.cc: In function 'void Build(int, int, int)':
/in/foo.cc:33:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid=l+r>>1;
           ~^~
/in/foo.cc: In function 'void Update(int, int, int)':
/in/foo.cc:44:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid=T[g].l+T[g].r>>1;
           ~~~~~~^~~~~~~
/in/foo.cc: In function 'int Calc(int, int, int)':
/in/foo.cc:52:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid=T[g].l+T[g].r>>1;
           ~~~~~~^~~~~~~
/in/foo.cc: In function 'int Find(int, int, int)':
/in/foo.cc:60:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid=T[g].l+T[g].r>>1;
           ~~~~~~^~~~~~~
/in/foo.cc: In function 'func Query(int, int, int)':
/in/foo.cc:68:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   int mid=T[g].l+T[g].r>>1;
           ~~~~~~^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:89:28: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
     while(L<=R) check(mid=L+R>>1)?L=(cur=mid)+1:R=mid-1;
                           ~^~
# 状态 耗时 内存占用
#1 Accepted 4ms 4.34 MiB
#2 Accepted 4ms 2.25 MiB
#3 Accepted 4ms 2.336 MiB
#4 Accepted 6ms 4.25 MiB
#5 Accepted 6ms 4.25 MiB
#6 Accepted 296ms 13.0 MiB
#7 Accepted 390ms 17.059 MiB
#8 Accepted 1681ms 28.25 MiB
#9 Accepted 1847ms 28.254 MiB
#10 Accepted 281ms 12.875 MiB

信息

递交者
类型
递交
题目
2017.07.10 P4 博客点击率
语言
C++
递交时间
2017-07-10 19:11:14
评测时间
2017-07-10 19:11:14
评测机
分数
400
总耗时
4522ms
峰值内存
28.254 MiB