-
2fda973085
day 25: fic Makefile for only one part
Bruno Raoult
2022-09-14 20:04:07 +02:00
-
79428d6192
day23: final version (could add priority queue to improve further ?)
Bruno Raoult
2022-09-14 20:02:54 +02:00
-
ebb8a0d738
day 25: memory cleanup, simplify puzzle input read
Bruno Raoult
2022-09-14 19:56:33 +02:00
-
721f9da54e
day 25: code cleanup
Bruno Raoult
2022-09-08 21:08:49 +02:00
-
5da5adb8bf
day 25: simplify code.
Bruno Raoult
2022-09-08 16:11:29 +02:00
-
adb8fc6b95
day 25, first version (need lots of cleaning)
Bruno Raoult
2022-09-07 22:14:45 +02:00
-
4dbcc30dc3
first try of A* move sorting
Bruno Raoult
2022-04-05 13:20:13 +02:00
-
49bbc2372c
changes in newmove() & hash() to avoid code duplication
Bruno Raoult
2022-04-04 16:46:51 +02:00
-
aa0f475b17
messy/bloaty/slow version working for example & input
Bruno Raoult
2022-04-02 17:35:39 +02:00
-
9a0d7a2ca7
temp save to use on laptop
Bruno Raoult
2022-04-01 06:37:55 +02:00
-
ea429a99a7
Day 23: zobrist hash, still wrong collisions (works only without hash)
Bruno Raoult
2022-03-30 21:39:16 +02:00
-
4fa4a5d366
day23: 1st "running" version, which does not work (maybe hash issue)
Bruno Raoult
2022-03-30 13:20:11 +02:00
-
e25d79e95b
bits.c: added 32 bits versions (untested)
Bruno Raoult
2022-03-30 13:19:38 +02:00
-
4be7c56b88
day 24 parts 1 & 2 (forgot source)
Bruno Raoult
2022-03-30 13:19:02 +02:00
-
c78a3e7285
Day 23 part 2 README (part 1 done with pen/paper)
Bruno Raoult
2022-03-26 16:49:27 +01:00
-
f807acc983
day 24
Bruno Raoult
2022-03-25 16:08:54 +01:00
-
b64bc6c1d5
update library from mainstream, especially {READ,WRITE}_ONCE
Bruno Raoult
2022-03-24 18:42:35 +01:00
-
6aa605a0de
init days{24,25}
Bruno Raoult
2022-03-24 18:41:28 +01:00
-
1f835c10c5
new list.h with {READ,WRITE}_ONCE
Bruno Raoult
2022-03-18 17:25:39 +01:00
-
d4ec54ed5b
add #error for word size != 64
Bruno Raoult
2022-02-07 18:18:11 +01:00
-
4ac39e5a69
day 23: early code for bitboard approach.
Bruno Raoult
2022-01-29 21:00:54 +01:00
-
b8e61bcacb
day 22: typo in day # comment
Bruno Raoult
2022-01-29 21:00:31 +01:00
-
efb25f363f
bugfix bit_for_each64_2
Bruno Raoult
2022-01-29 15:47:38 +01:00
-
1e8556b5d5
day 23 init
Bruno Raoult
2022-01-28 19:37:23 +01:00
-
5c392199fe
Day 22 : clean code, more comments.
Bruno Raoult
2022-01-28 17:07:44 +01:00
-
6b753e9d6c
day 22: working part 2. Two days lost due to int overflow :-(
Bruno Raoult
2022-01-28 16:08:05 +01:00
-
35053f3c8c
day 22: change part1 to match part2 changes in input read.
Bruno Raoult
2022-01-27 19:10:36 +01:00
-
97411fbb08
day 22 part 1 (basic/stupid algorithm, not suitable for part 2)
Bruno Raoult
2022-01-27 16:24:43 +01:00
-
ecbeffc3d9
Day 22 init
Bruno Raoult
2022-01-25 13:47:18 +01:00
-
7082ce3565
day 21: fix memory leaks
Bruno Raoult
2022-01-25 13:46:48 +01:00
-
58027905b8
day 21 part2, 1st version. Need improvement in queue management (!)
Bruno Raoult
2022-01-24 15:49:02 +01:00
-
76bd022049
day 21 part 1
Bruno Raoult
2022-01-24 00:12:13 +01:00
-
cf2bed124e
day 21 init
Bruno Raoult
2022-01-23 21:58:17 +01:00
-
dacefcd5ad
day20: final version (more comments, more code cleanup)
Bruno Raoult
2022-01-23 21:48:18 +01:00
-
db7013309b
day20 EXAMPLE2.txt: impossible input
Bruno Raoult
2022-01-23 21:47:46 +01:00
-
63e737b863
day 20: code cleanup
Bruno Raoult
2022-01-23 20:50:51 +01:00
-
f1af70e55a
Added example file to resolve both parts with initial '#'
Bruno Raoult
2022-01-23 20:45:16 +01:00
-
ec4684a756
day 20, part 2 (before code cleanup)
Bruno Raoult
2022-01-23 20:44:28 +01:00
-
897453fb39
day 20: working version for part 1
Bruno Raoult
2022-01-23 20:38:58 +01:00
-
81cfe12d67
day20, part1: working version for given example (not for input)
Bruno Raoult
2022-01-23 20:27:52 +01:00
-
640feea875
day 20 init
Bruno Raoult
2022-01-22 20:42:38 +01:00
-
2692f3f621
day19: cosmetic changes
Bruno Raoult
2022-01-22 20:18:15 +01:00
-
5346b0e7fa
day 19, after optimization (8.5s -> 0.06s)
Bruno Raoult
2022-01-22 19:37:25 +01:00
-
c84a37874c
day 19: clean logs
Bruno Raoult
2022-01-22 15:05:23 +01:00
-
b11c35be26
day 19 part 2, before cleaning
Bruno Raoult
2022-01-22 14:01:13 +01:00
-
858258770b
day 19 part 1 (ugly, many useless code)
Bruno Raoult
2022-01-22 13:22:39 +01:00
-
1caa102c23
day19: move beacons/distances from arrays to lists
Bruno Raoult
2022-01-21 16:54:15 +01:00
-
9fd980c71b
day 19: save before reverting scanners's beacons/distances to linked lists
Bruno Raoult
2022-01-19 17:23:26 +01:00
-
6c3672f8d1
(temp) save not working day19 - likely mismatch in scanners ref array
Bruno Raoult
2022-01-16 21:16:21 +01:00
-
96c9f7d6e3
pool_create: do not fail if structure is too small to handle list pointers
Bruno Raoult
2022-01-16 21:07:30 +01:00
-
fe4520da7f
list.h: blank line
Bruno Raoult
2022-01-16 21:00:16 +01:00
-
a03cc1c1c4
day19: tentatively get 3 common beacons between overlapping scanners
Bruno Raoult
2022-01-14 20:26:22 +01:00
-
f1dc062250
day 18: typos in comments
Bruno Raoult
2022-01-14 18:24:59 +01:00
-
645188216e
day19: find common beacons between two scanners
Bruno Raoult
2022-01-14 15:10:45 +01:00
-
e3382ef3dd
debug.h: fix mistake in debug() printf __attribute__
Bruno Raoult
2022-01-14 12:47:05 +01:00
-
8a67ac0321
debug.h: add printf() attribute to debug() function
Bruno Raoult
2022-01-14 12:43:05 +01:00
-
b255dc5d43
.gitignore: added common dummy files (FOO*, BAR*, etc..)
Bruno Raoult
2022-01-14 11:52:42 +01:00
-
33bee9500c
day 19: first functions (read input, calculate beacons distances...)
Bruno Raoult
2022-01-14 11:50:14 +01:00
-
46fd8a30bc
day 18: improve tree structure explanation
Bruno Raoult
2022-01-14 11:49:23 +01:00
-
77ef1fa003
Makefile day 19: added memcheck targets
Bruno Raoult
2022-01-14 11:48:47 +01:00
-
457b3eb9b9
Snailfish data structure diagram + cosmetic changes
Bruno Raoult
2022-01-12 11:02:51 +01:00
-
a88aa2312b
(C): 2021 -> 2022
Bruno Raoult
2022-01-11 19:49:14 +01:00
-
cd4a21380d
day 18: more code cleanup/comments
Bruno Raoult
2022-01-11 19:46:27 +01:00
-
a0b094aa61
day 19 init
Bruno Raoult
2022-01-07 22:35:38 +01:00
-
0e333e5cb9
day 18: code cleanup, fixed valgrind errors.
Bruno Raoult
2022-01-07 22:24:26 +01:00
-
0344a9162f
day 18 part 2 (before cleaning)
Bruno Raoult
2022-01-07 21:08:56 +01:00
-
8d3a064c73
day 18 part 1 (with tons of debug)
Bruno Raoult
2022-01-07 20:33:01 +01:00
-
2f47bb23ea
typo
Bruno Raoult
2021-12-28 11:42:30 +01:00
-
0f932bca95
day 18 init
Bruno Raoult
2021-12-27 14:22:25 +01:00
-
95ef1bc864
day 17: more code cleaning
Bruno Raoult
2021-12-27 11:34:09 +01:00
-
8748eb0f1f
day17: code cleaning + results
Bruno Raoult
2021-12-27 11:28:10 +01:00
-
7b7095b8d7
day 17 parts 1 & 2, before code cleaning.
Bruno Raoult
2021-12-27 11:10:41 +01:00
-
f3717c906b
init day 17
Bruno Raoult
2021-12-21 16:32:10 +01:00
-
f8720a2129
day 16 part 2 final
Bruno Raoult
2021-12-21 12:18:11 +01:00
-
bdfad93f4a
day 16 part 2 (before code cleanup)
Bruno Raoult
2021-12-21 11:57:04 +01:00
-
50963c233b
day 16 part 1 (with tons of debug printf)
Bruno Raoult
2021-12-20 20:36:23 +01:00
-
90303eb8b5
pool.c: name becomes char array instead of pointer
Bruno Raoult
2021-12-20 15:10:17 +01:00
-
118d7f8452
refactor pool_init -> pool_create
Bruno Raoult
2021-12-20 14:44:15 +01:00
-
93ef9438b8
day 16 init
Bruno Raoult
2021-12-20 12:45:12 +01:00
-
43378e9366
Makefile: add gmon.out in clean target
Bruno Raoult
2021-12-20 12:44:43 +01:00
-
9d9b111e2c
pool.c: add destroy() to totally free a pool's memory
Bruno Raoult
2021-12-20 11:59:02 +01:00
-
a84c52fa94
day 15 part 2 final
Bruno Raoult
2021-12-20 09:54:23 +01:00
-
aace9d72de
day 15 part 2 (1st version)
Bruno Raoult
2021-12-19 19:32:09 +01:00
-
befb71ed22
day 15 part 1
Bruno Raoult
2021-12-19 14:59:52 +01:00
-
fde80b124b
day 15 init
Bruno Raoult
2021-12-17 17:54:54 +01:00
-
85b4204894
day14: more code cleanup
Bruno Raoult
2021-12-17 16:51:24 +01:00
-
ca6b612d0d
day 14 final (need some comments, will not remember :-)
Bruno Raoult
2021-12-17 16:30:21 +01:00
-
d0c6c6e4f7
day 4 part 2 (before cleaning code)
Bruno Raoult
2021-12-17 16:19:57 +01:00
-
33ae1b1751
day 14 part 1 (stupid algorithm) + init part 2
Bruno Raoult
2021-12-15 20:32:21 +01:00
-
295f032d6a
day 14 init
Bruno Raoult
2021-12-15 16:03:01 +01:00
-
cbbfb507c3
day 13: remove debug
Bruno Raoult
2021-12-15 15:58:13 +01:00
-
394cfcd2ca
Day 13 parts 1 & 2 (with tons of debug, before code cleaning)
Bruno Raoult
2021-12-15 15:43:02 +01:00
-
81867c5a18
init day 13
Bruno Raoult
2021-12-14 16:52:55 +01:00
-
9933153c9d
typo in source exercise name
Bruno Raoult
2021-12-14 16:43:54 +01:00
-
94aeedb78b
day 2: simplify code
Bruno Raoult
2021-12-14 16:39:43 +01:00
-
2dec566985
day 12 part 2 (C), before code cleaning.
Bruno Raoult
2021-12-14 12:58:40 +01:00
-
d973d86ec7
day 12 part 1 (using recursive BFS, with tons of debug info)
Bruno Raoult
2021-12-14 12:22:03 +01:00
-
60a042951b
more comments for day 11
Bruno Raoult
2021-12-12 21:13:24 +01:00
-
b06d784563
simplify day 11 (maybe too much)
Bruno Raoult
2021-12-12 20:31:24 +01:00
-
cede0eb93f
day 12 init
Bruno Raoult
2021-12-12 20:01:12 +01:00