struct Solution; #[inline] fn bit(x: i32, b: usize) -> i32 { (x >> b) & 1 } impl Solution { pub fn maximum_rows(matrix: Vec>, num_select: i32) -> i32 { let m = matrix.len(); let n = matrix[0].len(); // 枚举选择的列 let mut res = 0; for choice in 0..1<