diff --git a/2018/README.md b/2018/README.md index 25e0b3c..f7d1b31 100644 --- a/2018/README.md +++ b/2018/README.md @@ -6,3 +6,15 @@ having everything in a single executable. To run day 1: `cargo run -- 1`. Other options can be seen with the `--help` flag. The program will by default read its input from stdin. + +## Simulations + +This year's edition is very simulation-heavy. Thus, code written for +those days tends to be very long. To illustrate this, I have created the +graph below. Can you guess which days had a large simulation? + +![Lines of code per day](loc.svg) + +The code to produce this graph is included in the `other` directory, and +should be compatible with most peoples repo set-ups, so you can share +your pain. If it is not, please let me know. diff --git a/2018/loc.svg b/2018/loc.svg new file mode 100644 index 0000000..4cb12bd --- /dev/null +++ b/2018/loc.svg @@ -0,0 +1,877 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +