Skip to main content

cartesian_tree

Function cartesian_tree 

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

✅ AC 14ms

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_00AC14 ± 1 ms
random_01AC5 ± 0 ms
random_02AC6 ± 0 ms
random_03AC4 ± 0 ms
random_04AC11 ± 1 ms
increasing_00AC7 ± 1 ms
increasing_01AC2 ± 0 ms
decreasing_00AC8 ± 0 ms
decreasing_01AC2 ± 0 ms
almost-increasing_00AC8 ± 1 ms
almost-increasing_01AC2 ± 0 ms
almost-decreasing_00AC8 ± 0 ms
almost-decreasing_01AC2 ± 0 ms