/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void splay(int)':
/in/foo.cc:44:38: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
         if(!isroot(y))spin((son[y][0]==x^son[z][0]==y)?x:y);
                             ~~~~~~~~~^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:68:31: warning: unused variable 'a' [-Wunused-variable]
         int u=e[i].u,v=e[i].v,a=e[i].a,b=e[i].b;
                               ^
/in/foo.cc:68:40: warning: unused variable 'b' [-Wunused-variable]
         int u=e[i].u,v=e[i].v,a=e[i].a,b=e[i].b;
                                        ^
/in/foo.cc:65:25: warning: unused variable 'x' [-Wunused-variable]
     sort(e+1,e+m+1);int x;
                         ^
# 状态 耗时 内存占用
#1 Accepted 3ms 4.25 MiB
#2 Accepted 4ms 6.344 MiB
#3 Accepted 2ms 4.207 MiB
#4 Accepted 7ms 6.25 MiB
#5 Accepted 12ms 4.359 MiB
#6 Accepted 9ms 6.348 MiB
#7 Accepted 32ms 4.375 MiB
#8 Accepted 37ms 4.5 MiB
#9 Accepted 42ms 4.375 MiB
#10 Accepted 21ms 4.625 MiB
#11 Accepted 335ms 6.5 MiB
#12 Accepted 334ms 7.125 MiB
#13 Accepted 344ms 6.449 MiB
#14 Accepted 291ms 6.949 MiB
#15 Accepted 202ms 6.199 MiB
#16 Accepted 211ms 5.625 MiB
#17 Accepted 203ms 6.949 MiB
#18 Accepted 235ms 6.973 MiB
#19 Accepted 176ms 6.875 MiB
#20 Accepted 192ms 7.09 MiB

信息

递交者
类型
递交
题目
P1865 魔法森林
语言
C++
递交时间
2018-05-15 22:14:36
评测时间
2018-05-15 22:14:36
评测机
分数
100
总耗时
2702ms
峰值内存
7.125 MiB