/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void R(int&)':
/in/foo.cc:12:10: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
   v = (v + (v << 2) << 1) + (ch^'0');
        ~~^~~~~~~~~~
/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:33:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = l + r >> 1;
            ~~^~~
/in/foo.cc: In function 'int query(int, int, int, int, int)':
/in/foo.cc:42:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = l + r >> 1, ret = -INT_MAX;
            ~~^~~
/in/foo.cc: In function 'void modify(int, int, int, int, int)':
/in/foo.cc:52:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = l + r >> 1;
            ~~^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 2.332 MiB

信息

递交者
类型
自测
题目
P1083 小白逛公园
语言
C++
递交时间
2017-07-27 15:22:30
评测时间
2017-07-27 15:22:30
评测机
分数
10
总耗时
3ms
峰值内存
2.332 MiB