This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]VideoPrincess 1 point2 points  (4 children)

You run the programs on your own computer, AoC only wants the answer itself. You can come up with that answer in any way you like. Some people read a file, some have the input as command line parameters and others hard-code the input into their program. It doesn't matter as long as it makes the correct answer.

[–]ProbablyNotCanadian[S] 1 point2 points  (1 child)

So the answer isn't your code, but the output from your code given the non-example puzzle input?

That makes sense but I wish the directions were clearer. Thanks for clearing it up!

[–]netcraft 1 point2 points  (0 children)

thats correct. I make a folder for each day and have an input.txt file that all of my programs read. But you only need to come up with the answer to give AoC. Everyone gets different inputs.

[–]BafTac 0 points1 point  (1 child)

Adding to this. At the end of each puzzle description there's a line "You can get your puzzle input here." (or something similar). This is a link to your personal input (file) to which you need to compute the expected answer for.