/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'void splay(int, int&)':
/in/foo.cc:82:25: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
             if (c[z][0] == y ^ c[y][0] == x) rotate(x, k);
                 ~~~~~~~~^~~~
/in/foo.cc:81:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
         if (y != k) 
            ^
# 状态 耗时 内存占用
#1 Accepted 8ms 4.328 MiB
#2 Accepted 5ms 4.352 MiB
#3 Accepted 387ms 4.625 MiB
#4 Accepted 101ms 4.449 MiB
#5 Accepted 183ms 4.875 MiB
#6 Accepted 312ms 5.562 MiB
#7 Accepted 670ms 5.613 MiB
#8 Runtime Error 3ms 2.344 MiB
#9 Time Exceeded ≥3004ms ≥6.109 MiB
#10 Runtime Error 12ms 2.352 MiB

信息

递交者
类型
递交
题目
P1835 维护数列
语言
C++
递交时间
2018-03-05 08:26:58
评测时间
2018-03-05 08:26:58
评测机
分数
70
总耗时
4690ms
峰值内存
6.109 MiB