logan_2023/day4
2023-12-05 04:56:55 -07:00
..
answer2 Added Day 4 Part 2 answer 2023-12-05 04:34:45 -07:00
d4p1.ods Added Day 4 2023-12-05 04:34:26 -07:00
d4p2.go Added Day 4 2023-12-05 04:34:26 -07:00
input Added Day 4 input and README 2023-12-05 01:51:08 -07:00
README.md Added Day 4 FAQ 2023-12-05 04:56:55 -07:00
sample1 Added Day 4 2023-12-05 04:34:26 -07:00

AoC 2023 Day 4 (Excel & Linux)

This day targets the Linux platform. So it's basically a spinner wheel sanctioned free day.

I decided to do a LibreOffice spreadsheet for part 1 because free days are too easy ;).

Part 2 is written in Go and can only be ran on Linux, so it counts.

Requirements:

  • Part 1:
    • LibreOffice >7.0
  • Part 2:
    • Go toolchain

Usage/Building:

Part 1:

  1. Open the spreadsheet
  2. To paste your own input in the spreadsheet, first import it into LibreOffice using space delimited cells and deduplicate delimiters enabled. Copy the sections in your imported data to the appropriate section in the spreadsheet.

Part 2:

  1. (Optional) Compile d4p2.go
  2. Run the program specifying the input as the first command line argument. go run d4p2.go input or ./d4p2 input

FAQ:

1. Spreadsheets aren't a programming language!!!!!!!!!!!!!!!!!!

That's not a question.

2. Aren't you cheating by not using a non-programming language such as a spreadsheet?

Don't care.

(Besides, it was harder this way)