mirror of
https://github.com/Noratrieb/advent-of-code.git
synced 2026-01-16 10:35:02 +01:00
fix
This commit is contained in:
parent
327a57a5ea
commit
46aa19c61c
1 changed files with 4 additions and 0 deletions
|
|
@ -22,6 +22,10 @@ fn parse(line: &str, into: &mut Vec<i64>) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if neg {
|
||||||
|
acc = -acc
|
||||||
|
};
|
||||||
|
into.push(acc);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn execute(
|
fn execute(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue