/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'void dfs(int, int)':
foo.cc:46:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   46 |     if(p!=i)
      |       ^
foo.cc:53:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   53 |     if(tmp+1>>1){g[q]=f[q]+tmp;}
      |        ~~~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 59ms 34.82 MiB
#2 Accepted 60ms 34.77 MiB
#3 Accepted 68ms 34.895 MiB
#4 Accepted 64ms 35.27 MiB
#5 Accepted 114ms 41.766 MiB
#6 Accepted 155ms 53.895 MiB
#7 Accepted 113ms 41.551 MiB
#8 Time Exceeded ≥1109ms ≥116.801 MiB
#9 Time Exceeded ≥1067ms ≥119.664 MiB
#10 Time Exceeded ≥1002ms ≥123.27 MiB

信息

递交者
类型
递交
题目
P1892 树上的最大匹配
语言
C++
递交时间
2023-11-04 18:14:59
评测时间
2023-11-04 18:14:59
评测机
分数
70
总耗时
≥3814ms
峰值内存
≥123.27 MiB