]> www.fi.muni.cz Git - aoc.git/log
aoc.git
11 months agoDay 21: examining the input
Jan "Yenya" Kasprzak [Thu, 21 Dec 2023 11:04:00 +0000 (12:04 +0100)]
Day 21: examining the input

11 months agoDay 20: examining the input
Jan "Yenya" Kasprzak [Wed, 20 Dec 2023 07:35:53 +0000 (08:35 +0100)]
Day 20: examining the input

11 months agoDay 19: not bad, but too slow to write
Jan "Yenya" Kasprzak [Tue, 19 Dec 2023 06:14:07 +0000 (07:14 +0100)]
Day 19: not bad, but too slow to write

11 months agoDay 18: quite fast program, but slow to write
Jan "Yenya" Kasprzak [Mon, 18 Dec 2023 09:00:32 +0000 (10:00 +0100)]
Day 18: quite fast program, but slow to write

11 months agoDay 17: A-star using Array::Heap
Jan "Yenya" Kasprzak [Sun, 17 Dec 2023 06:12:38 +0000 (07:12 +0100)]
Day 17: A-star using Array::Heap

11 months agoDay 16: beam reflections
Jan "Yenya" Kasprzak [Sat, 16 Dec 2023 05:31:12 +0000 (06:31 +0100)]
Day 16: beam reflections

11 months agoDay 15: not so complicated
Jan "Yenya" Kasprzak [Fri, 15 Dec 2023 07:09:57 +0000 (08:09 +0100)]
Day 15: not so complicated

11 months agoDay 14 part 2: minor cleanup
Jan "Yenya" Kasprzak [Thu, 14 Dec 2023 17:20:14 +0000 (18:20 +0100)]
Day 14 part 2: minor cleanup

11 months agoDay 14 part 2: pure regex-based solution
Jan "Yenya" Kasprzak [Thu, 14 Dec 2023 16:45:51 +0000 (17:45 +0100)]
Day 14 part 2: pure regex-based solution

11 months agoDay 14: more polished solution
Jan "Yenya" Kasprzak [Thu, 14 Dec 2023 07:45:33 +0000 (08:45 +0100)]
Day 14: more polished solution

11 months agoDay 14: ugly but fast written solution
Jan "Yenya" Kasprzak [Thu, 14 Dec 2023 07:04:10 +0000 (08:04 +0100)]
Day 14: ugly but fast written solution

11 months agoDay 13: off-by-one errors, quite ugly
Jan "Yenya" Kasprzak [Wed, 13 Dec 2023 06:42:48 +0000 (07:42 +0100)]
Day 13: off-by-one errors, quite ugly

11 months agoDay 12: first working solution
Jan "Yenya" Kasprzak [Tue, 12 Dec 2023 08:38:02 +0000 (09:38 +0100)]
Day 12: first working solution

11 months agoDay 11: not bad, part 2 was easy
Jan "Yenya" Kasprzak [Mon, 11 Dec 2023 05:21:59 +0000 (06:21 +0100)]
Day 11: not bad, part 2 was easy

11 months agoDay 10: polished solution
Jan "Yenya" Kasprzak [Sun, 10 Dec 2023 15:28:10 +0000 (16:28 +0100)]
Day 10: polished solution

11 months agoDay 10: quite ugly solution, does not work on examples of part 2
Jan "Yenya" Kasprzak [Sun, 10 Dec 2023 06:00:16 +0000 (07:00 +0100)]
Day 10: quite ugly solution, does not work on examples of part 2

11 months agoDay 09: shortening the code
Jan "Yenya" Kasprzak [Sat, 9 Dec 2023 10:25:58 +0000 (11:25 +0100)]
Day 09: shortening the code

11 months agoDay 09: use reverse() for Part 2. D'oh!
Jan "Yenya" Kasprzak [Sat, 9 Dec 2023 09:12:39 +0000 (10:12 +0100)]
Day 09: use reverse() for Part 2. D'oh!

11 months agoDay 9: interesting task
Jan "Yenya" Kasprzak [Sat, 9 Dec 2023 05:27:27 +0000 (06:27 +0100)]
Day 9: interesting task

11 months agoInput downloader: use spew() instead of spurt()
Jan "Yenya" Kasprzak [Fri, 8 Dec 2023 08:07:36 +0000 (09:07 +0100)]
Input downloader: use spew() instead of spurt()

11 months agobash colorful prompt
Jan "Yenya" Kasprzak [Fri, 8 Dec 2023 07:56:38 +0000 (08:56 +0100)]
bash colorful prompt

11 months agoDay 8: more polished but still incorrect solution
Jan "Yenya" Kasprzak [Fri, 8 Dec 2023 07:54:41 +0000 (08:54 +0100)]
Day 8: more polished but still incorrect solution

11 months agoDay 8: ugly and generally incorrect first working solution
Jan "Yenya" Kasprzak [Fri, 8 Dec 2023 07:29:42 +0000 (08:29 +0100)]
Day 8: ugly and generally incorrect first working solution

11 months agoDay 7: a bit polished version
Jan "Yenya" Kasprzak [Thu, 7 Dec 2023 07:13:32 +0000 (08:13 +0100)]
Day 7: a bit polished version

11 months agoDay 7: not bad
Jan "Yenya" Kasprzak [Thu, 7 Dec 2023 06:56:43 +0000 (07:56 +0100)]
Day 7: not bad

11 months agoDay 6: too slow
Jan "Yenya" Kasprzak [Wed, 6 Dec 2023 05:22:39 +0000 (06:22 +0100)]
Day 6: too slow

12 months agoDay 5: minimizing number of if-branches
Jan "Yenya" Kasprzak [Tue, 5 Dec 2023 06:40:45 +0000 (07:40 +0100)]
Day 5: minimizing number of if-branches

12 months agoDay 4: not bad, but too slow
Jan "Yenya" Kasprzak [Mon, 4 Dec 2023 07:31:26 +0000 (08:31 +0100)]
Day 4: not bad, but too slow

12 months agoDay 3 part 2: a bit tidier solution, but still...
Jan "Yenya" Kasprzak [Sun, 3 Dec 2023 06:23:23 +0000 (07:23 +0100)]
Day 3 part 2: a bit tidier solution, but still...

12 months agoDay 3: quite ugly code
Jan "Yenya" Kasprzak [Sun, 3 Dec 2023 06:21:44 +0000 (07:21 +0100)]
Day 3: quite ugly code

12 months agoDay 2: pretty straightforward
Jan "Yenya" Kasprzak [Sat, 2 Dec 2023 05:12:06 +0000 (06:12 +0100)]
Day 2: pretty straightforward

12 months ago2023 day 1 part 2: prettier solution
Jan "Yenya" Kasprzak [Fri, 1 Dec 2023 06:04:17 +0000 (07:04 +0100)]
2023 day 1 part 2: prettier solution

12 months ago2023 day 1: spelling errors
Jan "Yenya" Kasprzak [Fri, 1 Dec 2023 06:03:46 +0000 (07:03 +0100)]
2023 day 1: spelling errors

12 months agoRest of 2019
Jan "Yenya" Kasprzak [Tue, 21 Nov 2023 21:35:11 +0000 (22:35 +0100)]
Rest of 2019

12 months ago2019 day 19
Jan "Yenya" Kasprzak [Mon, 13 Nov 2023 09:44:48 +0000 (10:44 +0100)]
2019 day 19

12 months ago2019 day 18 - slow and ugly bruteforce
Jan "Yenya" Kasprzak [Mon, 13 Nov 2023 09:14:39 +0000 (10:14 +0100)]
2019 day 18 - slow and ugly bruteforce

12 months ago2019 day 15 and 17
Jan "Yenya" Kasprzak [Fri, 10 Nov 2023 16:48:14 +0000 (17:48 +0100)]
2019 day 15 and 17

12 months ago2019 day 16 solutions
Jan "Yenya" Kasprzak [Fri, 10 Nov 2023 15:15:17 +0000 (16:15 +0100)]
2019 day 16 solutions

23 months agoDay 23
Jan "Yenya" Kasprzak [Mon, 2 Jan 2023 14:37:07 +0000 (15:37 +0100)]
Day 23

23 months agoAoC::Task: restore $/ before prompting user
Jan "Yenya" Kasprzak [Mon, 2 Jan 2023 07:02:30 +0000 (08:02 +0100)]
AoC::Task: restore $/ before prompting user

23 months agoDay 25: symmetric base-5
Jan "Yenya" Kasprzak [Sun, 25 Dec 2022 05:45:33 +0000 (06:45 +0100)]
Day 25: symmetric base-5

23 months agoDay 22: cube
Jan "Yenya" Kasprzak [Sat, 24 Dec 2022 06:23:56 +0000 (07:23 +0100)]
Day 22: cube

23 months agoDay 24: priority queue with memoization
Jan "Yenya" Kasprzak [Sat, 24 Dec 2022 06:13:17 +0000 (07:13 +0100)]
Day 24: priority queue with memoization

23 months agoInfrastructure cleanups
Jan "Yenya" Kasprzak [Wed, 21 Dec 2022 08:07:56 +0000 (09:07 +0100)]
Infrastructure cleanups

23 months agoDay 6: cleanup
Jan "Yenya" Kasprzak [Wed, 21 Dec 2022 07:56:22 +0000 (08:56 +0100)]
Day 6: cleanup

23 months agoInfrastructure mods
Jan "Yenya" Kasprzak [Wed, 21 Dec 2022 07:46:47 +0000 (08:46 +0100)]
Infrastructure mods

23 months agoDay 21: slightly polished solution
Jan "Yenya" Kasprzak [Wed, 21 Dec 2022 07:44:31 +0000 (08:44 +0100)]
Day 21: slightly polished solution

23 months agoDay 21: first ugly eval-based working solution
Jan "Yenya" Kasprzak [Wed, 21 Dec 2022 07:20:00 +0000 (08:20 +0100)]
Day 21: first ugly eval-based working solution

23 months agoDay 20: alternative solution wit list of pairs - slower but prettier
Jan "Yenya" Kasprzak [Tue, 20 Dec 2022 09:18:17 +0000 (10:18 +0100)]
Day 20: alternative solution wit list of pairs - slower but prettier

23 months agoDay 20: Examine the input carefully!
Jan "Yenya" Kasprzak [Tue, 20 Dec 2022 08:33:39 +0000 (09:33 +0100)]
Day 20: Examine the input carefully!

23 months agoDay 19: pruning by remaining time (credits: Honza Obdrzalek)
Jan "Yenya" Kasprzak [Mon, 19 Dec 2022 14:27:36 +0000 (15:27 +0100)]
Day 19: pruning by remaining time (credits: Honza Obdrzalek)

23 months agorun: sigint handling, native backups
Jan "Yenya" Kasprzak [Mon, 19 Dec 2022 14:26:40 +0000 (15:26 +0100)]
run: sigint handling, native backups

23 months agoDay 19: pruning the DFS
Jan "Yenya" Kasprzak [Mon, 19 Dec 2022 12:35:14 +0000 (13:35 +0100)]
Day 19: pruning the DFS

23 months agoDay 18: interesting
Jan "Yenya" Kasprzak [Sun, 18 Dec 2022 06:11:35 +0000 (07:11 +0100)]
Day 18: interesting

23 months agoDay 17: quite tedious
Jan "Yenya" Kasprzak [Sat, 17 Dec 2022 07:23:03 +0000 (08:23 +0100)]
Day 17: quite tedious

23 months agoNew fancy infrastructure: downloader, inotify watcher, submitter
Jan "Yenya" Kasprzak [Fri, 16 Dec 2022 20:09:03 +0000 (21:09 +0100)]
New fancy infrastructure: downloader, inotify watcher, submitter

23 months agoDay 16: first ugly working solution
Jan "Yenya" Kasprzak [Fri, 16 Dec 2022 08:11:30 +0000 (09:11 +0100)]
Day 16: first ugly working solution

Part 2 runs for 16.5 minutes on my computer :-(

23 months agoDay 15: a bit polished, but still slow (43s)
Jan "Yenya" Kasprzak [Thu, 15 Dec 2022 07:49:04 +0000 (08:49 +0100)]
Day 15: a bit polished, but still slow (43s)

23 months agoDay 15: first ugly naive working solution
Jan "Yenya" Kasprzak [Thu, 15 Dec 2022 07:03:38 +0000 (08:03 +0100)]
Day 15: first ugly naive working solution

23 months agoDay 14: slightly polished solution
Jan "Yenya" Kasprzak [Wed, 14 Dec 2022 07:47:54 +0000 (08:47 +0100)]
Day 14: slightly polished solution

23 months agoDay 14: pretty straightforward
Jan "Yenya" Kasprzak [Wed, 14 Dec 2022 07:05:00 +0000 (08:05 +0100)]
Day 14: pretty straightforward

23 months agoDay 13: polished solution
Jan "Yenya" Kasprzak [Tue, 13 Dec 2022 07:16:57 +0000 (08:16 +0100)]
Day 13: polished solution

23 months agoDay 13: eval and too long special-casing
Jan "Yenya" Kasprzak [Tue, 13 Dec 2022 05:43:04 +0000 (06:43 +0100)]
Day 13: eval and too long special-casing

23 months agoDay 12: not very complicated BFS
Jan "Yenya" Kasprzak [Tue, 13 Dec 2022 05:42:40 +0000 (06:42 +0100)]
Day 12: not very complicated BFS

23 months agoDay 11: nice!
Jan "Yenya" Kasprzak [Sun, 11 Dec 2022 05:20:08 +0000 (06:20 +0100)]
Day 11: nice!

23 months agoDay 10: off-by-ones
Jan "Yenya" Kasprzak [Sat, 10 Dec 2022 05:44:19 +0000 (06:44 +0100)]
Day 10: off-by-ones

23 months agoDay 9: quite tedious, resembling real work :-)
Jan "Yenya" Kasprzak [Fri, 9 Dec 2022 05:28:32 +0000 (06:28 +0100)]
Day 9: quite tedious, resembling real work :-)

23 months agoget.sh: fix for $URLDAY
Jan "Yenya" Kasprzak [Thu, 8 Dec 2022 09:11:44 +0000 (10:11 +0100)]
get.sh: fix for $URLDAY

23 months agoDay 8: Perl-ish solution with closures
Jan "Yenya" Kasprzak [Thu, 8 Dec 2022 07:51:26 +0000 (08:51 +0100)]
Day 8: Perl-ish solution with closures

23 months agoDay 8: dummy solution with off-by-one errors
Jan "Yenya" Kasprzak [Thu, 8 Dec 2022 05:23:10 +0000 (06:23 +0100)]
Day 8: dummy solution with off-by-one errors

23 months agoDay 7: nice!
Jan "Yenya" Kasprzak [Wed, 7 Dec 2022 05:19:20 +0000 (06:19 +0100)]
Day 7: nice!

23 months agoDay 6: rewrite after misreading the task
Jan "Yenya" Kasprzak [Tue, 6 Dec 2022 06:58:33 +0000 (07:58 +0100)]
Day 6: rewrite after misreading the task

2 years agoDay 5: more Perl-ish input parsing
Jan "Yenya" Kasprzak [Mon, 5 Dec 2022 18:39:01 +0000 (19:39 +0100)]
Day 5: more Perl-ish input parsing

2 years agoDay 5: parsing input
Jan "Yenya" Kasprzak [Mon, 5 Dec 2022 05:16:48 +0000 (06:16 +0100)]
Day 5: parsing input

2 years agoDay 4 part 2: after waking up
Jan "Yenya" Kasprzak [Sun, 4 Dec 2022 05:13:07 +0000 (06:13 +0100)]
Day 4 part 2: after waking up

2 years agoDay 4: 2nd part too slow
Jan "Yenya" Kasprzak [Sun, 4 Dec 2022 05:11:25 +0000 (06:11 +0100)]
Day 4: 2nd part too slow

2 years agoDay 3: use $_ everywhere
Jan "Yenya" Kasprzak [Sat, 3 Dec 2022 06:10:22 +0000 (07:10 +0100)]
Day 3: use $_ everywhere

2 years agoDay 3: regexp-based solution
Jan "Yenya" Kasprzak [Sat, 3 Dec 2022 06:02:16 +0000 (07:02 +0100)]
Day 3: regexp-based solution

2 years agoDay 3: it took too long to write this.
Jan "Yenya" Kasprzak [Sat, 3 Dec 2022 05:13:57 +0000 (06:13 +0100)]
Day 3: it took too long to write this.

2 years agoDay 2: in English it is in a different order than in Czech!
Jan "Yenya" Kasprzak [Fri, 2 Dec 2022 05:22:18 +0000 (06:22 +0100)]
Day 2: in English it is in a different order than in Czech!

2 years agoget.sh: user-agent added
Jan "Yenya" Kasprzak [Thu, 1 Dec 2022 08:18:46 +0000 (09:18 +0100)]
get.sh: user-agent added

... as requested at
https://www.reddit.com/r/adventofcode/comments/z9dhtd/please_include_your_contact_info_in_the_useragent/

2 years agoDay 1
Jan "Yenya" Kasprzak [Thu, 1 Dec 2022 05:06:27 +0000 (06:06 +0100)]
Day 1

2 years agoget.sh - day in URL is w/o leading sero
Jan "Yenya" Kasprzak [Thu, 1 Dec 2022 05:06:01 +0000 (06:06 +0100)]
get.sh - day in URL is w/o leading sero

2 years agoFixup for 2018 day 15/2
Jan "Yenya" Kasprzak [Fri, 25 Nov 2022 08:08:47 +0000 (09:08 +0100)]
Fixup for 2018 day 15/2

2 years agoFirst half of Year 2019
Jan "Yenya" Kasprzak [Thu, 24 Nov 2022 15:58:37 +0000 (16:58 +0100)]
First half of Year 2019

2 years agoYear 2018
Jan "Yenya" Kasprzak [Thu, 24 Nov 2022 15:56:41 +0000 (16:56 +0100)]
Year 2018

2 years agoThe rest of Year 2016
Jan "Yenya" Kasprzak [Thu, 24 Nov 2022 15:56:03 +0000 (16:56 +0100)]
The rest of Year 2016

2 years agoYear 2015
Jan "Yenya" Kasprzak [Thu, 24 Nov 2022 15:54:59 +0000 (16:54 +0100)]
Year 2015

2 years agoThe rest of Year 2017
Jan "Yenya" Kasprzak [Thu, 24 Nov 2022 15:54:01 +0000 (16:54 +0100)]
The rest of Year 2017

2 years agoMods from 2021
Jan "Yenya" Kasprzak [Thu, 24 Nov 2022 15:52:17 +0000 (16:52 +0100)]
Mods from 2021

2 years agoMods from 2020
Jan "Yenya" Kasprzak [Thu, 24 Nov 2022 15:49:06 +0000 (16:49 +0100)]
Mods from 2020

2 years agoAoC 2017 days 11 to 15
Jan "Yenya" Kasprzak [Sun, 16 Jan 2022 22:21:28 +0000 (23:21 +0100)]
AoC 2017 days 11 to 15

2 years agoAoC 2017 begins
Jan "Yenya" Kasprzak [Sun, 16 Jan 2022 18:31:51 +0000 (19:31 +0100)]
AoC 2017 begins

2 years agoYear 2016, days 1-10: so far pretty interesting
Jan "Yenya" Kasprzak [Tue, 11 Jan 2022 23:19:08 +0000 (00:19 +0100)]
Year 2016, days 1-10: so far pretty interesting

2 years agoMerge branch 'aoc2021'
Jan "Yenya" Kasprzak [Mon, 3 Jan 2022 18:03:20 +0000 (19:03 +0100)]
Merge branch 'aoc2021'

2 years agoMoved 2021 to a subdir
Jan "Yenya" Kasprzak [Mon, 3 Jan 2022 18:02:04 +0000 (19:02 +0100)]
Moved 2021 to a subdir

2 years agoMoved 2020 to a subdir
Jan "Yenya" Kasprzak [Mon, 3 Jan 2022 17:59:26 +0000 (18:59 +0100)]
Moved 2020 to a subdir

2 years agoDay 25: pretty straightforward
Jan "Yenya" Kasprzak [Sat, 25 Dec 2021 05:19:27 +0000 (06:19 +0100)]
Day 25: pretty straightforward

2 years agoDay 24: brute force on many CPUs
Jan "Yenya" Kasprzak [Fri, 24 Dec 2021 06:37:35 +0000 (07:37 +0100)]
Day 24: brute force on many CPUs

2 years agoDay 23: too long, too complicated. Do not read this.
Jan "Yenya" Kasprzak [Thu, 23 Dec 2021 10:03:03 +0000 (11:03 +0100)]
Day 23: too long, too complicated. Do not read this.