Commit Graph

68 Commits

Author SHA1 Message Date
Bert Peters
7416df5689 Add solutions to day 18. 2016-12-28 13:13:14 +01:00
Bert Peters
e095df1d43 Add solutions for day 17. 2016-12-28 09:03:10 +01:00
Bert Peters
c20ee82295 Solutions to day 13. 2016-12-15 20:19:21 +01:00
Bert Peters
7a6feaa5fd Add solutions to day 12.
Assembunny was fun.
2016-12-15 17:24:07 +01:00
Bert Peters
6516cdcf27 Solutions to day 10. 2016-12-13 15:15:42 +01:00
Bert Peters
213ceb6f85 Create graph visualisation for input.
Needed to check if the graph is actually a DAG and whether the degrees
are correct.
2016-12-13 14:05:03 +01:00
Bert Peters
3d53a0ab2b Solution for day 9 part 2. 2016-12-10 00:21:55 +01:00
Bert Peters
c285adb49e Add solution to day 9 part 1.
Part 2 is mean.
2016-12-09 23:52:02 +01:00
Bert Peters
391c6f0529 Solutions to day 08. ★ 2016-12-08 12:34:07 +01:00
Bert Peters
a9e49e1c6f Add solution to day 7. 2016-12-07 15:19:09 +01:00
Bert Peters
6965c84dff Reimplement day 5 with iterators. 2016-12-06 16:48:19 +01:00
Bert Peters
7455d902f1 Clean up day 06. 2016-12-06 12:21:58 +01:00
Bert Peters
9cb634b5d1 Add solutions to day 6 2016-12-06 12:15:22 +01:00
Bert Peters
7cb548a8e5 Solution to day 5. 2016-12-05 23:54:19 +01:00
Bert Peters
6c6c0e2f3b Add solutions for day 4. 2016-12-04 14:35:33 +01:00
Bert Peters
ad30f31d5e Add solutions for day 3. 2016-12-03 12:21:23 +01:00
Bert Peters
8d3f839538 Add readme. 2016-12-02 13:21:35 +01:00
Bert Peters
2e46ca9ccb Add simple makefile to run all programs. 2016-12-02 13:10:49 +01:00
Bert Peters
8c0328fa84 Ignore binaries. 2016-12-02 12:49:07 +01:00
Bert Peters
0e0f2b3f29 Add solutions for day 2. 2016-12-02 12:43:48 +01:00
Bert Peters
6937fec0fd Clean up solution to day 1. 2016-12-02 11:19:00 +01:00
Bert Peters
9f0b9b4ef8 Add solution for Day 01 of 2016. 2016-12-01 13:18:17 +01:00
Bert Peters
b37fd44fa7 Move 2015 out of the way. 2016-12-01 11:25:19 +01:00
Bert Peters
a75d14ec17 Use itertools for better readability. 2016-02-02 10:05:57 +01:00
Bert Peters
7a59999961 Improve getting the first valid value. 2015-12-27 17:23:20 +01:00
Bert Peters
57cc373f83 Solution to day 25. 2015-12-25 13:42:33 +01:00
Bert Peters
29847c588c Replace PriorityQueue with heapq.
Heapq is compatible with both python 3 and 2.7. It is also slightly
faster because it doesn't use locking.
2015-12-24 21:03:08 +01:00
Bert Peters
0537df8a40 Solution to day 22. 2015-12-24 20:57:04 +01:00
Bert Peters
9e944edaed Solution to day 24. 2015-12-24 19:49:38 +01:00
Bert Peters
4f551cd965 Remove useless code. 2015-12-24 14:11:48 +01:00
Bert Peters
ad05caf7a5 Solutions to day 23. 2015-12-24 14:10:58 +01:00
Bert Peters
3fb104b3a4 Solution to day 21. A little late. 2015-12-22 23:06:33 +01:00
Bert Peters
f89f413c63 Solution for day 20. 2015-12-20 23:07:52 +01:00
Bert Peters
337d2ed0c2 Code standard notion in README. 2015-12-19 19:48:43 +01:00
Bert Peters
1f7b789240 Write up for day 6. 2015-12-19 17:46:52 +01:00
Bert Peters
1c546275fa General README added. 2015-12-19 17:46:31 +01:00
Bert Peters
b6a4543655 Correct input for day 4. 2015-12-19 17:42:21 +01:00
Bert Peters
fd6e996351 Do part 2 using the slice algorithm. 2015-12-19 17:23:29 +01:00
Bert Peters
a88c17269a Update for a more general solution. 2015-12-19 17:16:14 +01:00
Bert Peters
1285e957e3 Add timings to the runner script. 2015-12-19 17:12:07 +01:00
Bert Peters
bfd6b9c78e Improve implementation of part 1. 2015-12-19 17:00:50 +01:00
Bert Peters
53c2f23ac7 Solutions to day 19, finally. 2015-12-19 15:09:34 +01:00
Bert Peters
d7c815f0c0 Improve solution for day 17. 2015-12-18 13:00:52 +01:00
Bert Peters
09a25f796b Solutions to day 18. 2015-12-18 12:02:03 +01:00
Bert Peters
4751945dc8 Solutions to day 17. 2015-12-17 12:57:44 +01:00
Bert Peters
7c7878be2b Add solutions for day 16. 2015-12-16 15:50:10 +01:00
Bert Peters
6e42e7ecd3 Solution to day 15, now in python 3. 2015-12-15 18:22:15 +01:00
Bert Peters
113f97d0ac Solution to day 14. 2015-12-14 19:22:05 +01:00
Bert Peters
7a72d5f5d1 Import print_function
This makes sure that the code still runs in pypy properly.
2015-12-14 00:51:27 +01:00
Bert Peters
0b94c1e7dc Fix project, now use python 3. 2015-12-14 00:29:02 +01:00