/ new_bzoj /

记录详情

Accepted

/in/foo.cc: In member function 'void info::nw(long long int)':
/in/foo.cc:23:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
         while(s[i]) na[i-1]=s[i],i++; na[i-1]=0;
         ^~~~~
/in/foo.cc:23:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
         while(s[i]) na[i-1]=s[i],i++; na[i-1]=0;
                                       ^~
/in/foo.cc: In function 'void splay(long long int, long long int&)':
/in/foo.cc:45:30: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
         if(y!=k) { if(c[z][0]==y^c[y][0]==x) rotate(x,k); else rotate(y,k); }
                       ~~~~~~~^~~
/in/foo.cc: In function 'void erase()':
/in/foo.cc:28:18: warning: 't2' may be used uninitialized in this function [-Wmaybe-uninitialized]
     ll l=c[x][0],r=c[x][1];
                  ^
/in/foo.cc:58:24: note: 't2' was declared here
     ll t1,tt1=c[id][0],t2,tt2=c[id][1];
                        ^~
/in/foo.cc:58:8: warning: 't1' may be used uninitialized in this function [-Wmaybe-uninitialized]
     ll t1,tt1=c[id][0],t2,tt2=c[id][1];
        ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 2.328 MiB
#2 Accepted 291ms 25.121 MiB
#3 Accepted 306ms 27.695 MiB
#4 Accepted 2ms 332.0 KiB
#5 Accepted 3ms 452.0 KiB
#6 Accepted 17ms 1.199 MiB
#7 Accepted 108ms 5.316 MiB
#8 Accepted 112ms 3.445 MiB
#9 Accepted 138ms 7.199 MiB
#10 Accepted 172ms 6.934 MiB

信息

递交者
类型
递交
题目
GameZ游戏排名系统
语言
C++
递交时间
2017-10-19 21:10:58
评测时间
2017-10-19 21:10:58
评测机
分数
100
总耗时
1155ms
峰值内存
27.695 MiB