/ new_bzoj /

记录详情

Accepted

/in/foo.cc: In function 'void add(int, int)':
/in/foo.cc:31:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(val[p]<v)
   ^~
/in/foo.cc:33:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    siz[cnt]=1;
    ^~~
/in/foo.cc: In function 'void splay(int, int&)':
/in/foo.cc:60:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if(x!=rt)if((tr[x][0]==p)^(tr[y][0]==x))rotate(p,rt);
     ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:122:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if(num[root]==1)
     ^

信息

递交者
类型
递交
题目
营业额统计
语言
C++
递交时间
2020-02-09 21:05:58
评测时间
2020-02-09 21:05:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes