Accepted

/in/foo.cc: In function 'void init()':
/in/foo.cc:20:59: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
    st_min[i][j] = min(st_min[i][j - 1],st_min[i + (1 << j - 1)][j - 1]),st_max[i][j] = max(st_max[i][j - 1],st_max[i + (1 << j - 1)][j - 1]);
                                                         ~~^~~
/in/foo.cc:20:128: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
    st_min[i][j] = min(st_min[i][j - 1],st_min[i + (1 << j - 1)][j - 1]),st_max[i][j] = max(st_max[i][j - 1],st_max[i + (1 << j - 1)][j - 1]);
                                                                                                                              ~~^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:48:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   mid = l + r >> 1;
         ~~^~~
# 状态 耗时 内存占用
#1 Accepted 14ms 7.434 MiB
#2 Accepted 14ms 7.32 MiB
#3 Accepted 20ms 7.324 MiB
#4 Accepted 16ms 7.309 MiB
#5 Accepted 18ms 7.309 MiB
#6 Accepted 17ms 7.328 MiB
#7 Accepted 16ms 7.305 MiB
#8 Accepted 16ms 7.312 MiB
#9 Accepted 19ms 7.324 MiB
#10 Accepted 19ms 7.312 MiB

信息

递交者
类型
递交
题目
河床
语言
C++
递交时间
2018-11-04 12:21:06
评测时间
2018-11-04 12:21:06
评测机
分数
100
总耗时
174ms
峰值内存
7.434 MiB