3130. 找出所有稳定的二进制数组 II
This commit is contained in:
parent
bd8207767a
commit
f80a39e514
|
|
@ -1,5 +1,6 @@
|
||||||
struct Solution;
|
struct Solution;
|
||||||
mod arr;
|
mod arr;
|
||||||
|
|
||||||
impl Solution {
|
impl Solution {
|
||||||
pub fn number_of_stable_arrays(zero: i32, one: i32, limit: i32) -> i32 {
|
pub fn number_of_stable_arrays(zero: i32, one: i32, limit: i32) -> i32 {
|
||||||
let md = 1e9 as i64 + 7;
|
let md = 1e9 as i64 + 7;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue