From 9ce100f7a4177cd06bbb136a4d26db1ba58f4552 Mon Sep 17 00:00:00 2001 From: Emile Date: Tue, 3 Dec 2024 21:01:33 +0100 Subject: 2024 day three part 1: converting all the given mul() values to their infix notation and summing up the list part 2: removing everything between the don't() and do() as well as between don't() and the end of the line, the reset is the same as in the first part --- 2024/d03.example_input | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 2024/d03.example_input (limited to '2024/d03.example_input') diff --git a/2024/d03.example_input b/2024/d03.example_input new file mode 100644 index 0000000..6a7899d --- /dev/null +++ b/2024/d03.example_input @@ -0,0 +1,2 @@ +xmul(2,4)%&mul[3,7]!@^do_not_mul(5,5)+mul(32,64]then(mul(11,8)mul(8,5)) + -- cgit 1.4.1