Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StudyRust/leetcode_rust
/ main
Function
main
1672-richest-customer-wealth.rs:1–5 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
fn main() {
2
let accounts = vec!(vec!(1, 2, 3), vec!(3, 2, 1));
3
let a = maximum_wealth(accounts);
4
println!(
"{:?}"
, a);
5
}
6
7
// 输入:accounts = [[1,2,3],[3,2,1]]
8
// 输出:6
Callers
nothing calls this directly
Calls
1
maximum_wealth
Function · 0.85
Tested by
no test coverage detected