pub fn cartesian_tree(reader: impl Read, writer: impl Write)Expand description
✅ AC 58ms
problem here
§Detail
| Case Name | Status | Exec Time |
|---|---|---|
| example_00 | AC | 0 ± 0 ms |
| example_01 | AC | 0 ± 0 ms |
| small_00 | AC | 0 ± 0 ms |
| small_01 | AC | 0 ± 0 ms |
| small_02 | AC | 0 ± 0 ms |
| small_03 | AC | 0 ± 0 ms |
| small_04 | AC | 0 ± 0 ms |
| small_05 | AC | 0 ± 0 ms |
| small_06 | AC | 0 ± 0 ms |
| small_07 | AC | 0 ± 0 ms |
| small_08 | AC | 0 ± 0 ms |
| small_09 | AC | 0 ± 0 ms |
| random_00 | AC | 58 ± 2 ms |
| random_01 | AC | 25 ± 0 ms |
| random_02 | AC | 31 ± 0 ms |
| random_03 | AC | 23 ± 0 ms |
| random_04 | AC | 45 ± 0 ms |
| increasing_00 | AC | 47 ± 1 ms |
| increasing_01 | AC | 21 ± 0 ms |
| decreasing_00 | AC | 47 ± 0 ms |
| decreasing_01 | AC | 20 ± 0 ms |
| almost-increasing_00 | AC | 47 ± 0 ms |
| almost-increasing_01 | AC | 20 ± 0 ms |
| almost-decreasing_00 | AC | 47 ± 0 ms |
| almost-decreasing_01 | AC | 21 ± 0 ms |