/ new_bzoj /

记录详情

Wrong Answer

foo.cc: In function 'void Pushdown(int)':
foo.cc:38:13: warning: operation on 'T[((k << 1) | 1)].Tree::lcb' may be undefined [-Wsequence-point]
   T[rs].lcb = T[rs].lcb = T[rs].maxb = T[rs].siz;
   ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:45:13: warning: operation on 'T[((k << 1) | 1)].Tree::lca' may be undefined [-Wsequence-point]
   T[rs].lca = T[rs].lca = T[rs].maxa = T[rs].sum = T[rs].siz;
   ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'void Build(int, int, int)':
foo.cc:98:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = l + r >> 1;
            ~~^~~
foo.cc: In function 'void Update(int, int, int, int)':
foo.cc:125:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = T[k].l + T[k].r >> 1;
            ~~~~~~~^~~~~~~~
foo.cc: In function 'void Change(int, int, int)':
foo.cc:158:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = T[k].l + T[k].r >> 1;
            ~~~~~~~^~~~~~~~
foo.cc: In function 'int Query1(int, int, int)':
foo.cc:168:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = T[k].l + T[k].r >> 1, res = 0;
            ~~~~~~~^~~~~~~~
foo.cc: In function 'int Query2(int, int, int)':
foo.cc:178:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = T[k].l + T[k].r >> 1, res = 0;
            ~~~~~~~^~~~~~~~
foo.cc: In function 'int main()':
foo.cc:187:24: warning: unused variable 'mm' [-Wunused-variable]
  read(n); read(m); int mm = m;
                        ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 404.0 KiB
#2 Wrong Answer Read 99998, expect 99999. 103ms 12.992 MiB
#3 Wrong Answer Read 11, expect 14. 2ms 444.0 KiB
#4 Wrong Answer Read 218, expect 338. 2ms 580.0 KiB
#5 Wrong Answer Read 2557, expect 2266. 18ms 3.348 MiB
#6 Wrong Answer Read 1967, expect 2157. 19ms 3.324 MiB
#7 Wrong Answer Read 10879, expect 12134. 114ms 10.371 MiB
#8 Wrong Answer Read 10392, expect 11565. 101ms 10.418 MiB
#9 Wrong Answer Read 8993, expect 9161. 197ms 16.918 MiB
#10 Wrong Answer Read 2675, expect 3018. 176ms 16.816 MiB

信息

递交者
类型
递交
题目
序列操作
语言
C++
递交时间
2021-08-26 09:29:05
评测时间
2021-08-26 09:29:05
评测机
分数
10
总耗时
739ms
峰值内存
16.918 MiB