/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void pushdown(int)':
/in/foo.cc:62:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   flag2[t]=g[t]=0;
            ~~~~^~
/in/foo.cc: In function 'int build(int, int)':
/in/foo.cc:67:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int mid=le+ri>>1, t=stack[cnt--];
          ~~^~~
/in/foo.cc:69:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  flag[t]=flag2[t]=g[t]=fa[t]=0;
                   ~~~~^~~~~~~~
/in/foo.cc: In function 'void zig(int)':
/in/foo.cc:91:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
  if (f2)
     ^
/in/foo.cc: In function 'void zag(int)':
/in/foo.cc:101:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
  if (f2)
     ^
/in/foo.cc: In function 'void splay(int)':
/in/foo.cc:124:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
  if (f1)
     ^
/in/foo.cc: In function 'void calc(int, int)':
/in/foo.cc:185:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'LL {aka long long int}' [-Wformat=]
  printf("%d\n", sum[l[y]]);
                          ^
# 状态 耗时 内存占用
#1 Accepted 5ms 19.5 MiB
#2 Accepted 5ms 16.125 MiB
#3 Accepted 160ms 24.809 MiB
#4 Accepted 34ms 19.855 MiB
#5 Accepted 91ms 21.0 MiB
#6 Accepted 163ms 22.945 MiB
#7 Accepted 301ms 31.68 MiB
#8 Accepted 340ms 34.902 MiB
#9 Accepted 231ms 33.184 MiB
#10 Accepted 245ms 33.441 MiB

信息

递交者
类型
递交
题目
P1835 维护数列
语言
C++
递交时间
2017-08-09 19:39:35
评测时间
2017-08-09 19:39:35
评测机
分数
100
总耗时
1581ms
峰值内存
34.902 MiB