/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'void dfs(int, int)':
foo.cc:42:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   42 |     if(p!=i)
      |       ^
foo.cc:49:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   49 |     if(tmp+1>>1){g[q]=f[q]+tmp;}
      |        ~~~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 10, expect 11. 62ms 34.773 MiB
#2 Wrong Answer Read 253286280, expect 368746560. 63ms 34.836 MiB
#3 Accepted 72ms 35.035 MiB
#4 Wrong Answer Read 733836260, expect 677582792. 99ms 35.27 MiB
#5 Wrong Answer Read 431033729, expect 36671568. 312ms 42.516 MiB
#6 Wrong Answer Read 34680, expect 49994. 313ms 51.387 MiB
#7 Wrong Answer Read 622538049, expect 834985139. 275ms 42.273 MiB
#8 Time Exceeded ≥1107ms ≥116.789 MiB
#9 Time Exceeded ≥1108ms ≥123.973 MiB
#10 Time Exceeded ≥1109ms ≥130.414 MiB

信息

递交者
类型
递交
题目
P1892 树上的最大匹配
语言
C++
递交时间
2023-11-04 17:08:39
评测时间
2023-11-04 17:08:39
评测机
分数
10
总耗时
≥4523ms
峰值内存
≥130.414 MiB