/ new_bzoj /

记录详情

System Error

/in/foo.cc: In function 'void BuildSegmentTree(int, int, int)':
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:49:26: note: in expansion of macro 'mid'
  BuildSegmentTree(lson,l,mid);
                          ^~~
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:50:24: note: in expansion of macro 'mid'
  BuildSegmentTree(rson,mid+1,r);
                        ^~~
/in/foo.cc: In function 'void ChangeNum(int, int, int, int, int)':
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:58:9: note: in expansion of macro 'mid'
  if (q<=mid) ChangeNum(lson,l,mid,q,c);
         ^~~
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:58:31: note: in expansion of macro 'mid'
  if (q<=mid) ChangeNum(lson,l,mid,q,c);
                               ^~~
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:59:22: note: in expansion of macro 'mid'
  else ChangeNum(rson,mid+1,r,q,c);
                      ^~~
/in/foo.cc: In function 'int QueryMax(int, int, int, int, int)':
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:67:9: note: in expansion of macro 'mid'
  if (L<=mid) re=max(re,QueryMax(lson,l,mid,L,R));
         ^~~
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:67:40: note: in expansion of macro 'mid'
  if (L<=mid) re=max(re,QueryMax(lson,l,mid,L,R));
                                        ^~~
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:68:8: note: in expansion of macro 'mid'
  if (R>mid) re=max(re,QueryMax(rson,mid+1,r,L,R));
        ^~~
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:68:37: note: in expansion of macro 'mid'
  if (R>mid) re=max(re,QueryMax(rson,mid+1,r,L,R));
                                     ^~~
/in/foo.cc: In function 'int QuerySum(int, int, int, int, int)':
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:76:9: note: in expansion of macro 'mid'
  if (L<=mid) re+=QuerySum(lson,l,mid,L,R);
         ^~~
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:76:34: note: in expansion of macro 'mid'
  if (L<=mid) re+=QuerySum(lson,l,mid,L,R);
                                  ^~~
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:77:8: note: in expansion of macro 'mid'
  if (R>mid) re+=QuerySum(rson,mid+1,r,L,R);
        ^~~
/in/foo.cc:4:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
 #define mid (l+r>>1)
              ~^~
/in/foo.cc:77:31: note: in expansion of macro 'mid'
  if (R>mid) re+=QuerySum(rson,mid+1,r,L,R);
                               ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:121:31: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10]' [-Wformat=]
   if (scanf("%s%d%d",&ch,&x,&y),ch[1]=='H') ChangeNum(1,1,n,insegment[x],y);
                               ^
VJ4Error('ProblemDataNotFoundError', '题目 590c987dd3d8a13210993742 的数据未找到。', 'newbzoj', '590c987dd3d8a13210993742')

信息

递交者
类型
递交
题目
树的统计Count
语言
C++
递交时间
2020-02-18 10:45:32
评测时间
2020-02-18 10:45:32
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes