Skip to main content

tree_diameter

Function tree_diameter 

Source
pub fn tree_diameter(reader: impl Read, writer: impl Write)
Expand description

✅ AC 41ms

problem here

§Detail

Case NameStatusExec Time
example_00AC0 ± 0 ms
small_random_00AC0 ± 0 ms
small_random_01AC0 ± 0 ms
small_random_02AC0 ± 0 ms
small_random_03AC0 ± 0 ms
small_random_04AC0 ± 0 ms
random_00AC25 ± 6 ms
random_01AC36 ± 3 ms
random_02AC2 ± 0 ms
random_03AC32 ± 2 ms
random_04AC15 ± 1 ms
max_random_00AC41 ± 2 ms
max_random_01AC41 ± 1 ms
uni_00AC21 ± 1 ms
line_00AC30 ± 3 ms
hack_00AC0 ± 0 ms