/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void splay(int, int&)':
/in/foo.cc:76:14: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
    if(c[y][0]==x^c[z][0]==y)rotate(x,k);
       ~~~~~~~^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:180:26: warning: 'tot' may be used uninitialized in this function [-Wmaybe-uninitialized]
    else val=read(),modify(k,tot,val);
                    ~~~~~~^~~~~~~~~~~
/in/foo.cc:180:26: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
# 状态 耗时 内存占用
#1 Accepted 42ms 18.25 MiB
#2 Accepted 47ms 20.262 MiB
#3 Accepted 317ms 20.375 MiB
#4 Accepted 99ms 22.309 MiB
#5 Accepted 178ms 22.324 MiB
#6 Accepted 292ms 22.523 MiB
#7 Accepted 467ms 22.535 MiB
#8 Accepted 589ms 35.438 MiB
#9 Accepted 399ms 37.449 MiB
#10 Accepted 373ms 38.898 MiB

信息

递交者
类型
递交
题目
P1835 维护数列
语言
C++
递交时间
2018-09-21 20:02:03
评测时间
2018-09-21 20:02:04
评测机
分数
100
总耗时
2807ms
峰值内存
38.898 MiB