/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'll fast_IO::read()':
/in/foo.cc:16:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (c == EOF)return c; if (c == '-')flag = true; else x = c ^ 48;
   ^~
/in/foo.cc:16:26: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if (c == EOF)return c; if (c == '-')flag = true; else x = c ^ 48;
                          ^~
/in/foo.cc:19:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (flag)return -x; return x;
   ^~
/in/foo.cc:19:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if (flag)return -x; return x;
                       ^~~~~~
/in/foo.cc: In function 'void build(int, int, int)':
/in/foo.cc:56:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  rg int mid = l + rr >> 1, now = id[mid];
               ~~^~~~
/in/foo.cc: In function 'void _rotate(int, int&)':
/in/foo.cc:72:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if (c[x][w ^ 1])fa[c[x][w ^ 1]] = f; c[f][w] = c[x][w ^ 1];
  ^~
/in/foo.cc:72:39: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if (c[x][w ^ 1])fa[c[x][w ^ 1]] = f; c[f][w] = c[x][w ^ 1];
                                       ^
/in/foo.cc: In function 'void _insert(int, int)':
/in/foo.cc:123:22: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  rg int rrt = id[num + 1 >> 1];
                  ~~~~^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:134:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for (rg int i = 1; i <= n + 2; ++i)id[i] = i; build(1, n + 2, 0);
  ^~~
/in/foo.cc:134:48: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for (rg int i = 1; i <= n + 2; ++i)id[i] = i; build(1, n + 2, 0);
                                                ^~~~~
/in/foo.cc:135:9: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  rt = n + 3 >> 1; tot = n + 2;
       ~~^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 328.0 KiB
#2 Wrong Answer 3ms 1.043 MiB
#3 Wrong Answer 256ms 1.172 MiB
#4 Wrong Answer 53ms 1.137 MiB
#5 Wrong Answer 135ms 1.828 MiB
#6 Wrong Answer 288ms 4.008 MiB
#7 Wrong Answer 629ms 4.266 MiB
#8 Wrong Answer 593ms 19.328 MiB
#9 Wrong Answer 351ms 20.016 MiB
#10 Wrong Answer 384ms 21.098 MiB

信息

递交者
类型
递交
题目
P1835 维护数列
语言
C++
递交时间
2019-03-25 21:32:08
评测时间
2019-03-25 21:32:08
评测机
分数
10
总耗时
2699ms
峰值内存
21.098 MiB