/ 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:57: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:73: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:73: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:130:22: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  rg int rrt = id[num + 1 >> 1];
                  ~~~~^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:141: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:141: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:142:9: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
  rt = n + 3 >> 1; tot = n + 2;
       ~~^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 880.0 KiB
#2 Wrong Answer 3ms 612.0 KiB
#3 Wrong Answer 213ms 1.129 MiB
#4 Wrong Answer 60ms 1.137 MiB
#5 Wrong Answer 117ms 1.82 MiB
#6 Wrong Answer 241ms 3.98 MiB
#7 Wrong Answer 492ms 4.27 MiB
#8 Wrong Answer 519ms 19.324 MiB
#9 Wrong Answer 343ms 20.016 MiB
#10 Wrong Answer 340ms 21.121 MiB

信息

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