/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'void rotate(int)':
foo.cc:29:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   29 |   if(z)c[z][c[z][1]==y]=x;fa[x]=z;
      |   ^~
foo.cc:29:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   29 |   if(z)c[z][c[z][1]==y]=x;fa[x]=z;
      |                           ^~
foo.cc: In function 'void build(int&, int, int)':
foo.cc:53:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   53 |   int mid=l+r>>1;val[k]=a[mid];
      |           ~^~
foo.cc: In function 'int main()':
foo.cc:91:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   91 |     scanf("%s",s);
      |     ~~~~~^~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read W, expect r. 114ms 30.418 MiB
#2 Wrong Answer Read ., expect .\/.. 5ms 384.0 KiB
#3 Wrong Answer Standard answer longer than user output. 39ms 18.5 MiB
#4 Wrong Answer Read M, expect RA_,t'U)gxRN/&fa.... 50ms 20.992 MiB
#5 Wrong Answer Read T, expect h@a.7m,x;7zkFr^'.... 43ms 21.117 MiB
#6 Wrong Answer Read 7, expect ;r}Zm. 33ms 18.125 MiB
#7 Wrong Answer Read [, expect (. 27ms 18.242 MiB
#8 Wrong Answer Read ], expect datEYXzn. 26ms 17.742 MiB
#9 Wrong Answer Read X, expect x. 45ms 18.625 MiB
#10 Wrong Answer Read *, expect F. 78ms 18.617 MiB

信息

递交者
类型
递交
题目
P1856 文本编辑器
语言
C++
递交时间
2022-02-03 16:44:25
评测时间
2022-02-03 16:44:25
评测机
分数
0
总耗时
464ms
峰值内存
30.418 MiB