/ 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 6ms 6.352 MiB
#2 Accepted 3ms 6.363 MiB
#3 Accepted 4ms 4.375 MiB
#4 Accepted 16ms 6.25 MiB
#5 Accepted 9ms 4.25 MiB
#6 Accepted 9ms 6.25 MiB
#7 Accepted 24ms 6.363 MiB
#8 Accepted 21ms 4.469 MiB
#9 Accepted 33ms 6.332 MiB
#10 Accepted 26ms 4.48 MiB
#11 Accepted 304ms 6.375 MiB
#12 Accepted 335ms 6.5 MiB
#13 Accepted 369ms 6.555 MiB
#14 Accepted 284ms 6.324 MiB
#15 Accepted 313ms 7.0 MiB
#16 Accepted 298ms 6.996 MiB
#17 Accepted 212ms 6.625 MiB
#18 Accepted 286ms 7.012 MiB
#19 Accepted 202ms 6.5 MiB
#20 Accepted 204ms 6.625 MiB

信息

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