/ 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 62ms 34.77 MiB
#2 Accepted 64ms 34.77 MiB
#3 Accepted 71ms 35.027 MiB
#4 Accepted 85ms 35.332 MiB
#5 Accepted 279ms 42.516 MiB
#6 Accepted 283ms 55.637 MiB
#7 Accepted 279ms 42.273 MiB
#8 Time Exceeded ≥1107ms ≥116.84 MiB
#9 Time Exceeded ≥1010ms ≥120.664 MiB
#10 Time Exceeded ≥1108ms ≥125.145 MiB

信息

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