记录详情

Runtime Error

/in/foo.cc: In function 'std::pair<long long int, long long int> lca(int, int)':
/in/foo.cc:85:9: warning: unused variable 'max1' [-Wunused-variable]
     int max1=-41534,max2=-41534,mix1=-41534,mix2=-41534;
         ^~~~
/in/foo.cc:85:21: warning: unused variable 'max2' [-Wunused-variable]
     int max1=-41534,max2=-41534,mix1=-41534,mix2=-41534;
                     ^~~~
/in/foo.cc:85:33: warning: unused variable 'mix1' [-Wunused-variable]
     int max1=-41534,max2=-41534,mix1=-41534,mix2=-41534;
                                 ^~~~
/in/foo.cc:85:45: warning: unused variable 'mix2' [-Wunused-variable]
     int max1=-41534,max2=-41534,mix1=-41534,mix2=-41534;
                                             ^~~~
/in/foo.cc: In function 'int prim(int)':
/in/foo.cc:175:23: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
         if (edge_ind&1==1)
                      ~^~~
/in/foo.cc:192:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 4ms 8.359 MiB
#2 Accepted 15ms 8.605 MiB
#3 Accepted 11ms 8.375 MiB
#4 Wrong Answer 12ms 8.5 MiB
#5 Accepted 19ms 8.625 MiB
#6 Wrong Answer 118ms 9.09 MiB
#7 Wrong Answer 25ms 9.0 MiB
#8 Runtime Error 59ms 6.551 MiB
#9 Runtime Error 24ms 8.75 MiB
#10 Runtime Error 30ms 4.75 MiB

信息

递交者
类型
递交
题目
次小生成树 Tree
题目数据
下载
语言
C++
递交时间
2018-10-10 22:14:54
评测时间
2018-10-10 22:14:54
评测机
分数
40
总耗时
321ms
峰值内存
9.09 MiB