/ 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 'tree query(int, int, int, int, int)':
/in/foo.cc:42:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = l + r >> 1;
            ~~^~~
/in/foo.cc: In function 'void modify(int, int, int, int, int)':
/in/foo.cc:61:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = l + r >> 1;
            ~~^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 8ms 2.25 MiB
#3 Accepted 12ms 2.441 MiB
#4 Accepted 9ms 4.648 MiB
#5 Accepted 50ms 4.746 MiB
#6 Accepted 73ms 18.777 MiB
#7 Accepted 81ms 19.859 MiB
#8 Accepted 88ms 18.363 MiB
#9 Accepted 99ms 20.422 MiB
#10 Accepted 97ms 19.938 MiB

信息

递交者
类型
递交
题目
P1083 小白逛公园
语言
C++
递交时间
2017-07-27 15:41:49
评测时间
2017-07-27 15:41:49
评测机
分数
100
总耗时
524ms
峰值内存
20.422 MiB