Stdle #141 · 2026-10-25
What does this log?
Read the snippet and type its exact console output. You get 4 attempts — each wrong guess unlocks a hint.
fn main() { let v = vec![10, 20, 30]; let first = v[0]; let total = first + v[1] + v[2]; println!("{} {}", first, total);}Ownership