/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 # define mid (l+r>>1)
               ~^~
/in/foo.cc:42:10: note: in expansion of macro 'mid'
  build(l,mid,tl);
          ^~~
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 # define mid (l+r>>1)
               ~^~
/in/foo.cc:43:8: note: in expansion of macro 'mid'
  build(mid+1,r,tr);
        ^~~
/in/foo.cc: In function 'void change(int, int, int, int, int)':
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 # define mid (l+r>>1)
               ~^~
/in/foo.cc:53:8: note: in expansion of macro 'mid'
  if(x<=mid) change(l,mid,tl,x,dis);
        ^~~
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 # define mid (l+r>>1)
               ~^~
/in/foo.cc:53:22: note: in expansion of macro 'mid'
  if(x<=mid) change(l,mid,tl,x,dis);
                      ^~~
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 # define mid (l+r>>1)
               ~^~
/in/foo.cc:54:14: note: in expansion of macro 'mid'
  else change(mid+1,r,tr,x,dis);
              ^~~
/in/foo.cc: In function 'p ask(int, int, int, int, int)':
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 # define mid (l+r>>1)
               ~^~
/in/foo.cc:60:8: note: in expansion of macro 'mid'
  if(R<=mid) return ask(l,mid,tl,L,R);
        ^~~
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 # define mid (l+r>>1)
               ~^~
/in/foo.cc:60:26: note: in expansion of macro 'mid'
  if(R<=mid) return ask(l,mid,tl,L,R);
                          ^~~
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 # define mid (l+r>>1)
               ~^~
/in/foo.cc:61:12: note: in expansion of macro 'mid'
  else if(L>mid) return ask(mid+1,r,tr,L,R);
            ^~~
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 # define mid (l+r>>1)
               ~^~
/in/foo.cc:61:28: note: in expansion of macro 'mid'
  else if(L>mid) return ask(mid+1,r,tr,L,R);
                            ^~~
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 # define mid (l+r>>1)
               ~^~
/in/foo.cc:65:17: note: in expansion of macro 'mid'
   pus(ans,ask(l,mid,tl,L,mid),ask(mid+1,r,tr,mid+1,R));
                 ^~~
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 # define mid (l+r>>1)
               ~^~
/in/foo.cc:65:26: note: in expansion of macro 'mid'
   pus(ans,ask(l,mid,tl,L,mid),ask(mid+1,r,tr,mid+1,R));
                          ^~~
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 # define mid (l+r>>1)
               ~^~
/in/foo.cc:65:35: note: in expansion of macro 'mid'
   pus(ans,ask(l,mid,tl,L,mid),ask(mid+1,r,tr,mid+1,R));
                                   ^~~
/in/foo.cc:5:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 # define mid (l+r>>1)
               ~^~
/in/foo.cc:65:46: note: in expansion of macro 'mid'
   pus(ans,ask(l,mid,tl,L,mid),ask(mid+1,r,tr,mid+1,R));
                                              ^~~
# 状态 耗时 内存占用
#1 Accepted 4ms 356.0 KiB
#2 Accepted 10ms 600.0 KiB
#3 Accepted 20ms 1.352 MiB
#4 Accepted 14ms 2.25 MiB
#5 Accepted 85ms 2.762 MiB
#6 Accepted 130ms 16.605 MiB
#7 Accepted 141ms 18.02 MiB
#8 Accepted 130ms 17.25 MiB
#9 Accepted 183ms 16.773 MiB
#10 Accepted 146ms 17.285 MiB

信息

递交者
类型
递交
题目
P1083 小白逛公园
语言
C++
递交时间
2018-05-04 18:55:14
评测时间
2018-05-04 18:55:14
评测机
分数
100
总耗时
865ms
峰值内存
18.02 MiB