summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Ummon [Tue, 19 Dec 2017 08:35:06 +0000 (09:35 +0100)]
Day 19
Ummon [Mon, 18 Dec 2017 15:00:39 +0000 (16:00 +0100)]
Day 18
Ummon [Mon, 18 Dec 2017 10:22:23 +0000 (11:22 +0100)]
More concise day 16
Ummon [Mon, 18 Dec 2017 07:53:33 +0000 (08:53 +0100)]
Simplify a bit
Ummon [Mon, 18 Dec 2017 07:44:14 +0000 (08:44 +0100)]
Do not calculate the entire cycle if not necessary
Ummon [Mon, 18 Dec 2017 07:31:42 +0000 (08:31 +0100)]
Simplify the spin part
Ummon [Mon, 18 Dec 2017 07:16:48 +0000 (08:16 +0100)]
Get ride off 'mutable' variables.
Greg Burri [Sun, 17 Dec 2017 16:28:55 +0000 (17:28 +0100)]
Add a functional version of day 17 part 2.
Greg Burri [Sun, 17 Dec 2017 15:42:00 +0000 (16:42 +0100)]
Day 17
Greg Burri [Sun, 17 Dec 2017 15:14:07 +0000 (16:14 +0100)]
Day 16
Ummon [Fri, 15 Dec 2017 14:48:44 +0000 (15:48 +0100)]
Day 16 template
Ummon [Fri, 15 Dec 2017 14:45:36 +0000 (15:45 +0100)]
Rename DayX to Day0X
Ummon [Fri, 15 Dec 2017 08:19:40 +0000 (09:19 +0100)]
Day 15
Greg Burri [Thu, 14 Dec 2017 19:50:42 +0000 (20:50 +0100)]
Day 15 template
Ummon [Thu, 14 Dec 2017 12:53:04 +0000 (13:53 +0100)]
A compact version of day 14
Ummon [Thu, 14 Dec 2017 12:36:19 +0000 (13:36 +0100)]
Use a matrix of ints instead of bools
Ummon [Thu, 14 Dec 2017 09:17:53 +0000 (10:17 +0100)]
Cleaning
Ummon [Thu, 14 Dec 2017 09:15:45 +0000 (10:15 +0100)]
Cleaning
Ummon [Thu, 14 Dec 2017 08:46:19 +0000 (09:46 +0100)]
Simplify
Ummon [Thu, 14 Dec 2017 08:41:42 +0000 (09:41 +0100)]
Day 14
Ummon [Wed, 13 Dec 2017 10:01:07 +0000 (11:01 +0100)]
Add a new test case and correct the code accordingly
Ummon [Wed, 13 Dec 2017 08:39:03 +0000 (09:39 +0100)]
More concise
Ummon [Wed, 13 Dec 2017 08:20:27 +0000 (09:20 +0100)]
cleaning
Ummon [Wed, 13 Dec 2017 07:54:33 +0000 (08:54 +0100)]
Day 13
Ummon [Tue, 12 Dec 2017 13:12:18 +0000 (14:12 +0100)]
More concise
Ummon [Tue, 12 Dec 2017 12:56:20 +0000 (13:56 +0100)]
Add unit tests for day 12
Ummon [Tue, 12 Dec 2017 12:31:18 +0000 (13:31 +0100)]
Cleaning
Ummon [Tue, 12 Dec 2017 12:28:45 +0000 (13:28 +0100)]
A more functional way
Greg Burri [Tue, 12 Dec 2017 05:42:49 +0000 (06:42 +0100)]
More efficient
Greg Burri [Tue, 12 Dec 2017 05:37:07 +0000 (06:37 +0100)]
Cleaning
Greg Burri [Tue, 12 Dec 2017 05:30:28 +0000 (06:30 +0100)]
Day 12
Ummon [Mon, 11 Dec 2017 08:38:20 +0000 (09:38 +0100)]
useless parenthesis
Ummon [Mon, 11 Dec 2017 08:35:31 +0000 (09:35 +0100)]
Use coordinates system from https://redblobgames.com/grids/hexagons/
Ummon [Mon, 11 Dec 2017 08:15:31 +0000 (09:15 +0100)]
Cleaning...
Ummon [Mon, 11 Dec 2017 08:12:39 +0000 (09:12 +0100)]
Compacting to beat faty's code in term of lines...
Ummon [Mon, 11 Dec 2017 08:02:45 +0000 (09:02 +0100)]
Use of fold instead of custom recursion
Ummon [Mon, 11 Dec 2017 07:52:02 +0000 (08:52 +0100)]
"further" -> "furthest"
Ummon [Mon, 11 Dec 2017 07:44:54 +0000 (08:44 +0100)]
Day 11
Greg Burri [Sun, 10 Dec 2017 20:52:23 +0000 (21:52 +0100)]
Using curryfication
Greg Burri [Sun, 10 Dec 2017 20:40:31 +0000 (21:40 +0100)]
Day 10
Greg Burri [Sat, 9 Dec 2017 10:55:10 +0000 (11:55 +0100)]
Day 9
Ummon [Fri, 8 Dec 2017 10:18:13 +0000 (11:18 +0100)]
Replace map + sum by sumBy
Ummon [Fri, 8 Dec 2017 07:31:04 +0000 (08:31 +0100)]
More concise
Ummon [Fri, 8 Dec 2017 07:24:37 +0000 (08:24 +0100)]
Add a test case for day 7
Greg Burri [Fri, 8 Dec 2017 05:53:13 +0000 (06:53 +0100)]
More concise
Greg Burri [Fri, 8 Dec 2017 05:50:58 +0000 (06:50 +0100)]
Day 8
Ummon [Thu, 7 Dec 2017 11:45:51 +0000 (12:45 +0100)]
Simplify a bit
Ummon [Thu, 7 Dec 2017 09:32:43 +0000 (10:32 +0100)]
More compact...
Ummon [Thu, 7 Dec 2017 09:29:10 +0000 (10:29 +0100)]
Less verbose
Ummon [Thu, 7 Dec 2017 09:27:16 +0000 (10:27 +0100)]
Less verbose... also less readable
Ummon [Thu, 7 Dec 2017 09:22:01 +0000 (10:22 +0100)]
A bit less verbose
Ummon [Thu, 7 Dec 2017 09:14:50 +0000 (10:14 +0100)]
A bit less verbose
Ummon [Thu, 7 Dec 2017 09:07:07 +0000 (10:07 +0100)]
Day 7
Ummon [Wed, 6 Dec 2017 09:11:47 +0000 (10:11 +0100)]
Remove useless sh*t
Ummon [Wed, 6 Dec 2017 08:41:48 +0000 (09:41 +0100)]
Reduce execution time from 1s to 0.1s for day 6
Ummon [Wed, 6 Dec 2017 07:53:26 +0000 (08:53 +0100)]
Day 6
Ummon [Tue, 5 Dec 2017 07:44:17 +0000 (08:44 +0100)]
Do not parse input twice
Ummon [Tue, 5 Dec 2017 07:43:03 +0000 (08:43 +0100)]
Day 5
Ummon [Mon, 4 Dec 2017 07:35:44 +0000 (08:35 +0100)]
Can't compare sequences directly
Ummon [Mon, 4 Dec 2017 07:23:12 +0000 (08:23 +0100)]
Improve conciseness....
Ummon [Mon, 4 Dec 2017 07:09:46 +0000 (08:09 +0100)]
Improve conciseness...
Ummon [Mon, 4 Dec 2017 07:06:24 +0000 (08:06 +0100)]
Simplification
Ummon [Mon, 4 Dec 2017 07:01:57 +0000 (08:01 +0100)]
Cleaning
Ummon [Mon, 4 Dec 2017 06:59:19 +0000 (07:59 +0100)]
Day 4
Greg Burri [Sun, 3 Dec 2017 22:15:02 +0000 (23:15 +0100)]
Cleaning
Greg Burri [Sun, 3 Dec 2017 21:33:37 +0000 (22:33 +0100)]
Little cleaning
Greg Burri [Sun, 3 Dec 2017 21:24:56 +0000 (22:24 +0100)]
Remove mutable, simplify code add unit tests.
Greg Burri [Sun, 3 Dec 2017 14:31:42 +0000 (15:31 +0100)]
Day 3 (bis)
Greg Burri [Sun, 3 Dec 2017 14:28:28 +0000 (15:28 +0100)]
Day 3
Greg Burri [Sat, 2 Dec 2017 21:29:04 +0000 (22:29 +0100)]
Add day 2
Greg Burri [Fri, 1 Dec 2017 13:30:41 +0000 (14:30 +0100)]
Simplification
Grégory Burri [Fri, 1 Dec 2017 12:13:26 +0000 (13:13 +0100)]
Add a license
Grégory Burri [Fri, 1 Dec 2017 11:57:44 +0000 (12:57 +0100)]
Cleaning
Grégory Burri [Fri, 1 Dec 2017 11:52:30 +0000 (12:52 +0100)]
Code cleaning
Grégory Burri [Fri, 1 Dec 2017 11:35:23 +0000 (12:35 +0100)]
Add day 1 part 2.
Grégory Burri [Fri, 1 Dec 2017 10:34:55 +0000 (11:34 +0100)]
Day 1.