Commit Graph

642 Commits

Author SHA1 Message Date
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
Bert Peters
cf7d12fbf0 Solutions to day 13. 2015-12-13 14:51:52 +01:00
Bert Peters
3b13925a0e Solutions for day 12. 2015-12-12 10:47:59 +01:00
Bert Peters
da7ece3fa8 Day 11 solutions. 2015-12-11 13:14:12 +01:00
Bert Peters
82a1137c21 gitignore. 2015-12-11 12:31:21 +01:00
Bert Peters
6a0c619d74 Reimplement day 10 using itertools combine.
Now it DOES run using pypy, and is faster again.
2015-12-11 12:23:59 +01:00
Bert Peters
b1956e0d5a Add solution for day 10.
For some reason, day 10 won't run that well with pypy, so I disabled
trying pypy in the runner script.
2015-12-10 11:59:04 +01:00
Bert Peters
480978aef8 Run day 4 with an input file now. 2015-12-09 11:40:23 +01:00
Bert Peters
d831ce32cc Script to run all days at once. 2015-12-09 11:30:30 +01:00
Bert Peters
1178d7eac1 Change directory structure. 2015-12-09 11:20:40 +01:00
Bert Peters
7e1e33c0ba Solutions for day 9. 2015-12-09 11:13:20 +01:00
Bert Peters
8329f06582 Add solutions day 8. 2015-12-08 13:39:01 +01:00
Bert Peters
719e8bb51d Solution for day 7. 2015-12-08 13:18:47 +01:00
Bert Peters
42dea15cec Solutions for day 6. 2015-12-06 16:16:04 +01:00
Bert Peters
16a0640a07 Add python implementation of day1, after the fact. 2015-12-05 20:34:30 +01:00
Bert Peters
959aa38785 Add solution day 2. 2015-12-05 20:16:42 +01:00
Bert Peters
43d5d77252 Solutions for day 5. 2015-12-05 15:03:21 +01:00
Bert Peters
d2e12ccd86 Day 3 and 4 solutions. 2015-12-04 22:28:03 +01:00
Bert Peters
7ee1783f1e Initial commit 2015-12-04 22:26:39 +01:00