cartesian_tree

Function cartesian_tree 

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

✅ AC 63ms

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_00AC63 ± 0 ms
random_01AC26 ± 1 ms
random_02AC32 ± 0 ms
random_03AC24 ± 1 ms
random_04AC50 ± 1 ms
increasing_00AC58 ± 1 ms
increasing_01AC22 ± 0 ms
decreasing_00AC57 ± 1 ms
decreasing_01AC22 ± 0 ms
almost-increasing_00AC57 ± 0 ms
almost-increasing_01AC22 ± 0 ms
almost-decreasing_00AC57 ± 1 ms
almost-decreasing_01AC22 ± 0 ms