/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void Build_tree(int, int, int)':
/in/foo.cc:33:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=l+r>>1;
          ~^~
/in/foo.cc: In function 'void add(int, int, int, double, double)':
/in/foo.cc:74:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=T[now].l+T[now].r>>1;
          ~~~~~~~~^~~~~~~~~
/in/foo.cc: In function 'void mul(int, int, int, double, double)':
/in/foo.cc:85:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=T[now].l+T[now].r>>1;
          ~~~~~~~~^~~~~~~~~
/in/foo.cc: In function 'void find(int, int, int)':
/in/foo.cc:100:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=T[now].l+T[now].r>>1;
          ~~~~~~~~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 5ms 2.434 MiB
#2 Accepted 191ms 25.438 MiB
#3 Accepted 225ms 25.43 MiB
#4 Accepted 227ms 27.438 MiB
#5 Accepted 204ms 25.434 MiB

信息

递交者
类型
递交
题目
P2018 相关分析
语言
C++
递交时间
2017-09-22 20:02:16
评测时间
2017-09-22 20:02:16
评测机
分数
100
总耗时
853ms
峰值内存
27.438 MiB