/ SUOI /

记录详情

Wrong Answer

/in/foo.cc: In function 'void pushdown(int)':
/in/foo.cc:35:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  rev[x]=laz[x]=0;
         ~~~~~~^~
/in/foo.cc: In function 'void print(int, int)':
/in/foo.cc:43:55: warning: format '%d' expects argument of type 'int', but argument 3 has type 'll {aka long long int}' [-Wformat=]
  printf("~%d %d %d %d %d\n",x,v[x],sum[x],siz[x],fa[x]);
                               ~~~~                    ^
/in/foo.cc:43:55: warning: format '%d' expects argument of type 'int', but argument 4 has type 'll {aka long long int}' [-Wformat=]
/in/foo.cc:43:55: warning: format '%d' expects argument of type 'int', but argument 5 has type 'll {aka long long int}' [-Wformat=]
/in/foo.cc:43:55: warning: format '%d' expects argument of type 'int', but argument 6 has type 'll {aka long long int}' [-Wformat=]
/in/foo.cc: In function 'void rotate(int)':
/in/foo.cc:48:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(ff) ch[ff][isrt(f)]=x;fa[x]=ff;
  ^~
/in/foo.cc:48:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  if(ff) ch[ff][isrt(f)]=x;fa[x]=ff;
                           ^~
/in/foo.cc: In function 'void splay(int, int)':
/in/foo.cc:57:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   else rotate(x);rotate(x);
   ^~~~
/in/foo.cc:57:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   else rotate(x);rotate(x);
                  ^~~~~~
/in/foo.cc: In function 'int build(int, int)':
/in/foo.cc:63:9: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  int m=l+r>>1;
        ~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:115:11: warning: unused variable 'j' [-Wunused-variable]
     int i,j,k;
           ^
/in/foo.cc:115:13: warning: unused variable 'k' [-Wunused-variable]
     int i,j,k;
             ^
# 状态 耗时 内存占用
#1 Wrong Answer 10ms 6.434 MiB
#2 Wrong Answer 10ms 6.434 MiB
#3 Wrong Answer 10ms 6.449 MiB
#4 Wrong Answer 10ms 6.438 MiB
#5 Wrong Answer 9ms 6.434 MiB
#6 Wrong Answer 10ms 6.453 MiB
#7 Wrong Answer 10ms 6.434 MiB
#8 Wrong Answer 10ms 6.438 MiB
#9 Wrong Answer 10ms 6.445 MiB
#10 Wrong Answer 10ms 6.438 MiB
#11 Wrong Answer 10ms 6.434 MiB
#12 Wrong Answer 10ms 6.453 MiB
#13 Wrong Answer 10ms 6.434 MiB
#14 Wrong Answer 10ms 6.438 MiB
#15 Wrong Answer 10ms 6.449 MiB
#16 Wrong Answer 10ms 6.434 MiB
#17 Wrong Answer 20ms 6.684 MiB
#18 Wrong Answer 20ms 6.703 MiB
#19 Wrong Answer 927ms 16.434 MiB
#20 Wrong Answer 883ms 15.434 MiB

信息

递交者
类型
递交
题目
#57 三破练习
语言
C++
递交时间
2018-10-30 19:28:54
评测时间
2018-10-30 19:28:54
评测机
分数
0
总耗时
2015ms
峰值内存
16.434 MiB