From 2f0e522317972711b5e03ad25b38bf03af17e8d5 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 7 Jul 2025 09:51:31 +0200 Subject: Day 20 2022 --- 2022/20/a.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 2022/20/a.rs (limited to '2022/20/a.rs') diff --git a/2022/20/a.rs b/2022/20/a.rs new file mode 100644 index 0000000..0b80099 --- /dev/null +++ b/2022/20/a.rs @@ -0,0 +1,8 @@ +mod common; +use common::*; + +fn main() { + let mut a = read_from_stdin(1); + mix(&mut a); + println!("{}", groove_sum(&a)); +} -- cgit v1.3