advent_of_code_2017.git
11 days agoUpdate to .NET 9
Greg Burri [Tue, 10 Dec 2024 23:26:53 +0000 (00:26 +0100)]
Update to .NET 9

6 years agoDay 25
Greg Burri [Mon, 25 Dec 2017 12:32:37 +0000 (13:32 +0100)]
Day 25

6 years agoDay 24
Greg Burri [Sun, 24 Dec 2017 13:06:31 +0000 (14:06 +0100)]
Day 24

7 years agoDay 23
Greg Burri [Sat, 23 Dec 2017 21:38:23 +0000 (22:38 +0100)]
Day 23

7 years agoDay 22
Greg Burri [Sat, 23 Dec 2017 13:37:33 +0000 (14:37 +0100)]
Day 22

7 years agoReplace the 'Map' by a simple list
Greg Burri [Fri, 22 Dec 2017 23:32:55 +0000 (00:32 +0100)]
Replace the 'Map' by a simple list

7 years agoMerge branch 'master' of github.com:Ummon/AdventOfCode2017
Greg Burri [Fri, 22 Dec 2017 22:04:02 +0000 (23:04 +0100)]
Merge branch 'master' of github.com:Ummon/AdventOfCode2017

# Conflicts:
# AdventOfCode2017/AdventOfCode2017.fsproj
# Tests/Tests.fsproj

Plus Day 21

7 years agoDay 21 (WIP)
Greg Burri [Fri, 22 Dec 2017 19:59:53 +0000 (20:59 +0100)]
Day 21 (WIP)

7 years agoBeginning of day 22
Ummon [Fri, 22 Dec 2017 09:13:35 +0000 (10:13 +0100)]
Beginning of day 22

7 years agoFix part 1, replace euclidean norm by manhattan norm.
Ummon [Thu, 21 Dec 2017 09:29:59 +0000 (10:29 +0100)]
Fix part 1, replace euclidean norm by manhattan norm.

7 years agoFix some limit cases
Ummon [Thu, 21 Dec 2017 08:50:49 +0000 (09:50 +0100)]
Fix some limit cases

7 years agoDay 20
Ummon [Thu, 21 Dec 2017 07:12:26 +0000 (08:12 +0100)]
Day 20

7 years agoSimplify
Ummon [Tue, 19 Dec 2017 11:08:10 +0000 (12:08 +0100)]
Simplify

7 years agoCleaning
Ummon [Tue, 19 Dec 2017 09:18:23 +0000 (10:18 +0100)]
Cleaning

7 years agoSimplify
Ummon [Tue, 19 Dec 2017 09:12:47 +0000 (10:12 +0100)]
Simplify

7 years agoCleaning
Ummon [Tue, 19 Dec 2017 08:46:11 +0000 (09:46 +0100)]
Cleaning

7 years agoDay 19
Ummon [Tue, 19 Dec 2017 08:35:06 +0000 (09:35 +0100)]
Day 19

7 years agoDay 18
Ummon [Mon, 18 Dec 2017 15:00:39 +0000 (16:00 +0100)]
Day 18

7 years agoMore concise day 16
Ummon [Mon, 18 Dec 2017 10:22:23 +0000 (11:22 +0100)]
More concise day 16

7 years agoSimplify a bit
Ummon [Mon, 18 Dec 2017 07:53:33 +0000 (08:53 +0100)]
Simplify a bit

7 years agoDo not calculate the entire cycle if not necessary
Ummon [Mon, 18 Dec 2017 07:44:14 +0000 (08:44 +0100)]
Do not calculate the entire cycle if not necessary

7 years agoSimplify the spin part
Ummon [Mon, 18 Dec 2017 07:31:42 +0000 (08:31 +0100)]
Simplify the spin part

7 years agoGet ride off 'mutable' variables.
Ummon [Mon, 18 Dec 2017 07:16:48 +0000 (08:16 +0100)]
Get ride off 'mutable' variables.

7 years agoAdd a functional version of day 17 part 2.
Greg Burri [Sun, 17 Dec 2017 16:28:55 +0000 (17:28 +0100)]
Add a functional version of day 17 part 2.

7 years agoDay 17
Greg Burri [Sun, 17 Dec 2017 15:42:00 +0000 (16:42 +0100)]
Day 17

7 years agoDay 16
Greg Burri [Sun, 17 Dec 2017 15:14:07 +0000 (16:14 +0100)]
Day 16

7 years agoDay 16 template
Ummon [Fri, 15 Dec 2017 14:48:44 +0000 (15:48 +0100)]
Day 16 template

7 years agoRename DayX to Day0X
Ummon [Fri, 15 Dec 2017 14:45:36 +0000 (15:45 +0100)]
Rename DayX to Day0X

7 years agoDay 15
Ummon [Fri, 15 Dec 2017 08:19:40 +0000 (09:19 +0100)]
Day 15

7 years agoDay 15 template
Greg Burri [Thu, 14 Dec 2017 19:50:42 +0000 (20:50 +0100)]
Day 15 template

7 years agoA compact version of day 14
Ummon [Thu, 14 Dec 2017 12:53:04 +0000 (13:53 +0100)]
A compact version of day 14

7 years agoUse a matrix of ints instead of bools
Ummon [Thu, 14 Dec 2017 12:36:19 +0000 (13:36 +0100)]
Use a matrix of ints instead of bools

7 years agoCleaning
Ummon [Thu, 14 Dec 2017 09:17:53 +0000 (10:17 +0100)]
Cleaning

7 years agoCleaning
Ummon [Thu, 14 Dec 2017 09:15:45 +0000 (10:15 +0100)]
Cleaning

7 years agoSimplify
Ummon [Thu, 14 Dec 2017 08:46:19 +0000 (09:46 +0100)]
Simplify

7 years agoDay 14
Ummon [Thu, 14 Dec 2017 08:41:42 +0000 (09:41 +0100)]
Day 14

7 years agoAdd a new test case and correct the code accordingly
Ummon [Wed, 13 Dec 2017 10:01:07 +0000 (11:01 +0100)]
Add a new test case and correct the code accordingly

7 years agoMore concise
Ummon [Wed, 13 Dec 2017 08:39:03 +0000 (09:39 +0100)]
More concise

7 years agocleaning
Ummon [Wed, 13 Dec 2017 08:20:27 +0000 (09:20 +0100)]
cleaning

7 years agoDay 13
Ummon [Wed, 13 Dec 2017 07:54:33 +0000 (08:54 +0100)]
Day 13

7 years agoMore concise
Ummon [Tue, 12 Dec 2017 13:12:18 +0000 (14:12 +0100)]
More concise

7 years agoAdd unit tests for day 12
Ummon [Tue, 12 Dec 2017 12:56:20 +0000 (13:56 +0100)]
Add unit tests for day 12

7 years agoCleaning
Ummon [Tue, 12 Dec 2017 12:31:18 +0000 (13:31 +0100)]
Cleaning

7 years agoA more functional way
Ummon [Tue, 12 Dec 2017 12:28:45 +0000 (13:28 +0100)]
A more functional way

7 years agoMore efficient
Greg Burri [Tue, 12 Dec 2017 05:42:49 +0000 (06:42 +0100)]
More efficient

7 years agoCleaning
Greg Burri [Tue, 12 Dec 2017 05:37:07 +0000 (06:37 +0100)]
Cleaning

7 years agoDay 12
Greg Burri [Tue, 12 Dec 2017 05:30:28 +0000 (06:30 +0100)]
Day 12

7 years agouseless parenthesis
Ummon [Mon, 11 Dec 2017 08:38:20 +0000 (09:38 +0100)]
useless parenthesis

7 years agoUse coordinates system from https://www.redblobgames.com/grids/hexagons/
Ummon [Mon, 11 Dec 2017 08:35:31 +0000 (09:35 +0100)]
Use coordinates system from https://redblobgames.com/grids/hexagons/

7 years agoCleaning...
Ummon [Mon, 11 Dec 2017 08:15:31 +0000 (09:15 +0100)]
Cleaning...

7 years agoCompacting to beat faty's code in term of lines...
Ummon [Mon, 11 Dec 2017 08:12:39 +0000 (09:12 +0100)]
Compacting to beat faty's code in term of lines...

7 years agoUse of fold instead of custom recursion
Ummon [Mon, 11 Dec 2017 08:02:45 +0000 (09:02 +0100)]
Use of fold instead of custom recursion

7 years ago"further" -> "furthest"
Ummon [Mon, 11 Dec 2017 07:52:02 +0000 (08:52 +0100)]
"further" -> "furthest"

7 years agoDay 11
Ummon [Mon, 11 Dec 2017 07:44:54 +0000 (08:44 +0100)]
Day 11

7 years agoUsing curryfication
Greg Burri [Sun, 10 Dec 2017 20:52:23 +0000 (21:52 +0100)]
Using curryfication

7 years agoDay 10
Greg Burri [Sun, 10 Dec 2017 20:40:31 +0000 (21:40 +0100)]
Day 10

7 years agoDay 9
Greg Burri [Sat, 9 Dec 2017 10:55:10 +0000 (11:55 +0100)]
Day 9

7 years agoReplace map + sum by sumBy
Ummon [Fri, 8 Dec 2017 10:18:13 +0000 (11:18 +0100)]
Replace map + sum by sumBy

7 years agoMore concise
Ummon [Fri, 8 Dec 2017 07:31:04 +0000 (08:31 +0100)]
More concise

7 years agoAdd a test case for day 7
Ummon [Fri, 8 Dec 2017 07:24:37 +0000 (08:24 +0100)]
Add a test case for day 7

7 years agoMore concise
Greg Burri [Fri, 8 Dec 2017 05:53:13 +0000 (06:53 +0100)]
More concise

7 years agoDay 8
Greg Burri [Fri, 8 Dec 2017 05:50:58 +0000 (06:50 +0100)]
Day 8

7 years agoSimplify a bit
Ummon [Thu, 7 Dec 2017 11:45:51 +0000 (12:45 +0100)]
Simplify a bit

7 years agoMore compact...
Ummon [Thu, 7 Dec 2017 09:32:43 +0000 (10:32 +0100)]
More compact...

7 years agoLess verbose
Ummon [Thu, 7 Dec 2017 09:29:10 +0000 (10:29 +0100)]
Less verbose

7 years agoLess verbose... also less readable
Ummon [Thu, 7 Dec 2017 09:27:16 +0000 (10:27 +0100)]
Less verbose... also less readable

7 years agoA bit less verbose
Ummon [Thu, 7 Dec 2017 09:22:01 +0000 (10:22 +0100)]
A bit less verbose

7 years agoA bit less verbose
Ummon [Thu, 7 Dec 2017 09:14:50 +0000 (10:14 +0100)]
A bit less verbose

7 years agoDay 7
Ummon [Thu, 7 Dec 2017 09:07:07 +0000 (10:07 +0100)]
Day 7

7 years agoRemove useless sh*t
Ummon [Wed, 6 Dec 2017 09:11:47 +0000 (10:11 +0100)]
Remove useless sh*t

7 years agoReduce execution time from 1s to 0.1s for day 6
Ummon [Wed, 6 Dec 2017 08:41:48 +0000 (09:41 +0100)]
Reduce execution time from 1s to 0.1s for day 6

7 years agoDay 6
Ummon [Wed, 6 Dec 2017 07:53:26 +0000 (08:53 +0100)]
Day 6

7 years agoDo not parse input twice
Ummon [Tue, 5 Dec 2017 07:44:17 +0000 (08:44 +0100)]
Do not parse input twice

7 years agoDay 5
Ummon [Tue, 5 Dec 2017 07:43:03 +0000 (08:43 +0100)]
Day 5

7 years agoCan't compare sequences directly
Ummon [Mon, 4 Dec 2017 07:35:44 +0000 (08:35 +0100)]
Can't compare sequences directly

7 years agoImprove conciseness....
Ummon [Mon, 4 Dec 2017 07:23:12 +0000 (08:23 +0100)]
Improve conciseness....

7 years agoImprove conciseness...
Ummon [Mon, 4 Dec 2017 07:09:46 +0000 (08:09 +0100)]
Improve conciseness...

7 years agoSimplification
Ummon [Mon, 4 Dec 2017 07:06:24 +0000 (08:06 +0100)]
Simplification

7 years agoCleaning
Ummon [Mon, 4 Dec 2017 07:01:57 +0000 (08:01 +0100)]
Cleaning

7 years agoDay 4
Ummon [Mon, 4 Dec 2017 06:59:19 +0000 (07:59 +0100)]
Day 4

7 years agoCleaning
Greg Burri [Sun, 3 Dec 2017 22:15:02 +0000 (23:15 +0100)]
Cleaning

7 years agoLittle cleaning
Greg Burri [Sun, 3 Dec 2017 21:33:37 +0000 (22:33 +0100)]
Little cleaning

7 years agoRemove mutable, simplify code add unit tests.
Greg Burri [Sun, 3 Dec 2017 21:24:56 +0000 (22:24 +0100)]
Remove mutable, simplify code add unit tests.

7 years agoDay 3 (bis)
Greg Burri [Sun, 3 Dec 2017 14:31:42 +0000 (15:31 +0100)]
Day 3 (bis)

7 years agoDay 3
Greg Burri [Sun, 3 Dec 2017 14:28:28 +0000 (15:28 +0100)]
Day 3

7 years agoAdd day 2
Greg Burri [Sat, 2 Dec 2017 21:29:04 +0000 (22:29 +0100)]
Add day 2

7 years agoSimplification
Greg Burri [Fri, 1 Dec 2017 13:30:41 +0000 (14:30 +0100)]
Simplification

7 years agoAdd a license
Grégory Burri [Fri, 1 Dec 2017 12:13:26 +0000 (13:13 +0100)]
Add a license

7 years agoCleaning
Grégory Burri [Fri, 1 Dec 2017 11:57:44 +0000 (12:57 +0100)]
Cleaning

7 years agoCode cleaning
Grégory Burri [Fri, 1 Dec 2017 11:52:30 +0000 (12:52 +0100)]
Code cleaning

7 years agoAdd day 1 part 2.
Grégory Burri [Fri, 1 Dec 2017 11:35:23 +0000 (12:35 +0100)]
Add day 1 part 2.

7 years agoDay 1.
Grégory Burri [Fri, 1 Dec 2017 10:34:55 +0000 (11:34 +0100)]
Day 1.