Commit Graph

319 Commits

Author SHA1 Message Date
abcc4af572 C: day 24 final version + RESULTS.txt cleanup 2022-10-19 18:14:02 +02:00
94f0d95544 C: 2020 day 24 part 2 (dirty code) 2022-10-19 17:16:20 +02:00
452a912fe5 2020 library 2022-10-18 18:11:53 +02:00
46d6b77596 2020 day 24 part 1: C 2022-10-18 17:52:19 +02:00
65c03075f1 switch README to org-mode / add ccls compile_commands.json generation 2022-10-11 20:47:43 +02:00
4a565af1c2 Copy Makefile from 2019 2022-10-11 20:22:33 +02:00
0a03bc557b git-ignoire compile_commands.json 2022-10-11 18:44:38 +02:00
282d55c3cd 2020 day 25 (C): just copied my (lazy/brute-force) bash solution 2022-10-11 18:37:25 +02:00
920f830fac Re-use 2019 latest Makefile 2022-10-11 17:44:06 +02:00
e3d6b622dc 2020 day 25 (C): just copied my (lazy/brute-force) bash solution 2022-10-11 16:51:06 +02:00
5795d24ab4 2020 day 24: Add hexagon page link, for my future needs ;-) 2022-10-11 15:13:50 +02:00
86a62f0b2d update readme (2020 bash finished) 2022-10-10 19:46:29 +02:00
f3ae028751 2020 day 25 (bash) 2022-10-10 18:29:39 +02:00
d2b5a9dc34 2020 day 24 part 2 (bash) 2022-10-10 16:09:24 +02:00
563798871a 2020 day 24 (bash) part 1: simplify code 2022-10-09 14:34:50 +02:00
cced357154 2020 day 24 (bash) part 1. 2022-10-09 14:28:58 +02:00
4653101623 2020 day 24 init 2022-10-09 10:38:25 +02:00
0fb3d8832f typo 2022-10-08 22:00:22 +02:00
c30ca858e4 update README 2022-10-08 21:59:28 +02:00
cd41685cb5 Day 23 (bash) part 2 (~7mn run) 2022-10-08 21:34:13 +02:00
d2d66dc763 2020 day 23 part 1: re-use part 2 (unfinished) code 2022-10-08 20:56:50 +02:00
284eeb3dea 2020 day 23 part 1 (bash). Ooops. This won't do part 2 :-( 2022-10-06 16:42:30 +02:00
f74a1ffb8a delete .projectile and .dir-locals.el 2022-10-05 16:36:57 +02:00
b001690c95 delete .projectile and .dir-locals.el 2022-10-05 16:31:28 +02:00
0fe04e43dc 2019 day 9: cleanup code (see TODO in commit notes)
TODO:
- rename peek/poke
- remove the costly test on valid instruction in run()
- use array for i/o instead of input and output.
   Then merge prg_{add,get}_{input,output}
- add a pipe function to move one program output to (another) input
- remember in next AoC to use _unused to keep interesting unused functions
2022-10-04 22:49:01 +02:00
bd851b6524 2019 day 09: parts 1 & 2 2022-10-04 22:04:50 +02:00
Bruno
1cfd1c81f0 day 19 day 9: save unfinished work from laptop 2022-10-04 12:12:48 +02:00
Bruno
130f2a4d54 2019 day 9 init from day 7 2022-10-04 07:34:29 +02:00
625966f5b8 2019 day 8: parts 1 & 2 2022-10-03 10:54:54 +02:00
521e6e1bca 2019 day 8 init 2022-10-01 19:52:56 +02:00
bacbc6eded typo 2022-10-01 19:49:43 +02:00
5694883ef5 2019 day 6: remove count of allocated tries/objects 2022-10-01 19:07:05 +02:00
6a43725e30 fix copyright year 2022-10-01 18:34:20 +02:00
4d938b6cd7 2019 day6: simplify code, remove forgotten outputs 2022-10-01 18:31:52 +02:00
0c9b93b42a update copyright 2022-10-01 18:20:02 +02:00
04fcca5829 update copyright 2022-10-01 18:19:19 +02:00
ddfa8cf05b 2019 day 7, final version + update RESULTS.txt 2022-10-01 16:39:34 +02:00
5008963937 2019 day 7 part 2, before cleanup 2022-10-01 15:50:33 +02:00
155e066ed2 2019 day 7, part 1 2022-09-30 19:22:12 +02:00
626bd1df41 init 2019 day 7 with day 5 source, typo in day 6 2022-09-30 16:28:22 +02:00
8ed39e52b7 simplify part 2: use depths difference instead of two parent lists 2022-09-29 20:08:50 +02:00
e83b690822 2019 day 6 : add structure diagrams (Thanks Emacs' artist-mode !) 2022-09-29 19:41:51 +02:00
0004b2091e 2019 day 6: remove dead code, trie contains object ptr instead of object 2022-09-28 18:47:20 +02:00
a201283599 2019 day 6: parts 1 and 2, before cleaning (lots of printf ;-) 2022-09-28 15:25:01 +02:00
d5c37f5d48 cosmetic changes 2022-09-28 15:24:18 +02:00
1c10926cf9 bits.h: add rolXX(), rorXX(), ilog2(), bits_per(), etc... 2022-09-28 15:22:25 +02:00
94c6b2eec5 add attribute(__pure__) 2022-09-28 15:21:11 +02:00
b50f3a7098 switch from gnu99 to gnu11 2022-09-28 15:16:41 +02:00
8783eca22c 2019 day 6 init 2022-09-25 12:28:40 +02:00
3d18e36ff4 2019 day 5: fix wrong link in README, replace struct with typedefs 2022-09-25 12:26:07 +02:00