/ Vijos /

记录详情

Accepted

foo.cc: In function 'void build(int, int, int)':
foo.cc:16:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = l + r >> 1;
            ~~^~~
foo.cc: In function 'int qm(int, int, int)':
foo.cc:26:22: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = tree[k].l + tree[k].r >> 1, mx = 0;
            ~~~~~~~~~~^~~~~~~~~~~
foo.cc: In function 'int qs(int, int, int)':
foo.cc:35:22: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = tree[k].l + tree[k].r >> 1, ans = 0;
            ~~~~~~~~~~^~~~~~~~~~~
foo.cc: In function 'void change(int, int, int)':
foo.cc:48:22: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = tree[k].l + tree[k].r >> 1;
            ~~~~~~~~~~^~~~~~~~~~~
foo.cc: In function 'int findl(int, int)':
foo.cc:62:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int mid = l + r >> 1;
                   ~~^~~
foo.cc: In function 'int findr(int, int)':
foo.cc:73:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
         int mid = l + r >> 1;
                   ~~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 21ms 1.277 MiB
#5 Accepted 68ms 2.395 MiB
#6 Accepted 89ms 3.797 MiB
#7 Accepted 121ms 3.941 MiB
#8 Accepted 270ms 7.219 MiB
#9 Accepted 290ms 7.215 MiB
#10 Accepted 281ms 7.211 MiB

信息

递交者
类型
递交
题目
P1183 Fish && kitty
语言
C++
递交时间
2021-10-06 23:21:43
评测时间
2021-10-06 23:21:43
评测机
分数
100
总耗时
1148ms
峰值内存
7.219 MiB