fn run_entries<T>(values: &[T]) -> Vec<(usize, T)>where
T: Signed,Examples found in repository?
crates/competitive/src/math/min_plus_convolution/monotone.rs (line 53)
48pub(super) fn monotone_runs<T>(a: &[T], b: &[T], increasing: bool) -> Vec<T>
49where
50 T: Signed,
51{
52 monotone_runs_from_entries(
53 &run_entries(a),
54 &run_entries(b),
55 a.len(),
56 b.len(),
57 increasing,
58 )
59}