/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void newnode(int&, int, int)':
/in/foo.cc:65:27: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  same[x]=fz[tot]=son[x][0]=son[x][1]=0;
                  ~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc: In function 'void bt(int&, int, int, int)':
/in/foo.cc:68:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if (l>r)return;int mid=(l+r)/2;
  ^~
/in/foo.cc:68:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if (l>r)return;int mid=(l+r)/2;
                 ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:82:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100]' [-Wformat=]
   scanf("%s",&ch);
                 ^
/in/foo.cc:94:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   }else if (ch[0]=='M') if (ch[2]=='K'){//改
            ^
# 状态 耗时 内存占用
#1 Accepted 5ms 22.328 MiB
#2 Accepted 9ms 22.25 MiB
#3 Accepted 265ms 91.188 MiB
#4 Accepted 47ms 28.41 MiB
#5 Accepted 107ms 38.707 MiB
#6 Accepted 214ms 68.836 MiB
#7 Accepted 393ms 125.562 MiB
#8 Accepted 392ms 114.43 MiB
#9 Accepted 256ms 79.875 MiB
#10 Accepted 322ms 91.551 MiB

信息

递交者
类型
递交
题目
P1835 维护数列
语言
C++
递交时间
2017-08-25 18:18:48
评测时间
2017-08-25 18:18:48
评测机
分数
100
总耗时
2013ms
峰值内存
125.562 MiB