/ new_bzoj /

记录详情

Accepted

/in/foo.cc: In member function 'void Tree::build_tree(int, int, int)':
/in/foo.cc:95:65: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    no[k].nlian0 = no[k].n0 = !(no[k].l = no[k].r = no[k].nlian1 = no[k].n1 = seq[l]);
                                                    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:280:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'bool*' [-Wformat=]
   scanf("%d", &seq[i]);
                      ^
# 状态 耗时 内存占用
#1 Accepted 4ms 2.367 MiB
#2 Accepted 157ms 8.875 MiB
#3 Accepted 3ms 372.0 KiB
#4 Accepted 5ms 332.0 KiB
#5 Accepted 12ms 3.371 MiB
#6 Accepted 22ms 1.25 MiB
#7 Accepted 119ms 4.984 MiB
#8 Accepted 88ms 5.23 MiB
#9 Accepted 162ms 9.5 MiB
#10 Accepted 178ms 10.148 MiB

信息

递交者
类型
递交
题目
序列操作
语言
C++
递交时间
2018-06-27 21:16:03
评测时间
2018-06-27 21:16:03
评测机
分数
100
总耗时
754ms
峰值内存
10.148 MiB