Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StudyRust/leetcode_rust
/ main
Function
main
485-max-consecutive-ones.rs:5–8 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
3
}
4
5
fn main() {
6
let nums = vec![1,1,0,1,1,1];
7
println!(
"{:?}"
, find_max_consecutive_ones(nums));
8
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected