pub fn argmax_opt<T: Num + Bounded + PartialOrd>( iter: impl Iterator<Item = Option<T>>, ) -> Option<u32>