Skip to main content

cartesian_tree

Function cartesian_tree 

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

✅ AC 61ms

problem here

§Detail

Case NameStatusExec Time
example_00AC0 ± 0 ms
example_01AC0 ± 0 ms
small_00AC0 ± 0 ms
small_01AC0 ± 0 ms
small_02AC0 ± 0 ms
small_03AC0 ± 0 ms
small_04AC0 ± 0 ms
small_05AC0 ± 0 ms
small_06AC0 ± 0 ms
small_07AC0 ± 0 ms
small_08AC0 ± 0 ms
small_09AC0 ± 0 ms
random_00AC61 ± 2 ms
random_01AC26 ± 0 ms
random_02AC33 ± 0 ms
random_03AC24 ± 0 ms
random_04AC48 ± 0 ms
increasing_00AC53 ± 1 ms
increasing_01AC23 ± 0 ms
decreasing_00AC52 ± 0 ms
decreasing_01AC23 ± 0 ms
almost-increasing_00AC53 ± 1 ms
almost-increasing_01AC23 ± 0 ms
almost-decreasing_00AC52 ± 0 ms
almost-decreasing_01AC23 ± 0 ms