/ new_bzoj /

记录详情

Runtime Error

/in/foo.cc: In function 'void Pushdown(int)':
/in/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;
   ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/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;
   ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void Build(int, int, int)':
/in/foo.cc:98:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = l + r >> 1;
            ~~^~~
/in/foo.cc: In function 'void Update(int, int, int, int)':
/in/foo.cc:123:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = T[k].l + T[k].r >> 1;
            ~~~~~~~^~~~~~~~
/in/foo.cc: In function 'void Change(int, int, int)':
/in/foo.cc:155:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = T[k].l + T[k].r >> 1;
            ~~~~~~~^~~~~~~~
/in/foo.cc: In function 'int Query1(int, int, int)':
/in/foo.cc:165:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = T[k].l + T[k].r >> 1, res = 0;
            ~~~~~~~^~~~~~~~
/in/foo.cc: In function 'int Query2(int, int, int)':
/in/foo.cc:175:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid = T[k].l + T[k].r >> 1, res = 0;
            ~~~~~~~^~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:184:24: warning: unused variable 'mm' [-Wunused-variable]
  read(n); read(m); int mm = m;
                        ^~
# 状态 耗时 内存占用
#1 Accepted 1ms 344.0 KiB
#2 Runtime Error 11ms 11.82 MiB
#3 Wrong Answer 1ms 408.0 KiB
#4 Wrong Answer 2ms 492.0 KiB
#5 Wrong Answer 12ms 3.191 MiB
#6 Wrong Answer 12ms 3.188 MiB
#7 Wrong Answer 66ms 9.641 MiB
#8 Wrong Answer 64ms 9.652 MiB
#9 Wrong Answer 135ms 15.426 MiB
#10 Wrong Answer 134ms 15.422 MiB

信息

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