]> www.fi.muni.cz Git - aoc.git/log
aoc.git
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.

2 years ago44.pl: cleaner version, for arbitrary dimension
Jan "Yenya" Kasprzak [Wed, 22 Dec 2021 08:05:24 +0000 (09:05 +0100)]
44.pl: cleaner version, for arbitrary dimension

2 years agoDay 22: copy&paste in 3D, and don't make a mistake
Jan "Yenya" Kasprzak [Wed, 22 Dec 2021 06:53:20 +0000 (07:53 +0100)]
Day 22: copy&paste in 3D, and don't make a mistake

2 years ago42.pl: a bit cleaner version
Jan "Yenya" Kasprzak [Tue, 21 Dec 2021 07:20:44 +0000 (08:20 +0100)]
42.pl: a bit cleaner version

2 years agoDay 21: interesting
Jan "Yenya" Kasprzak [Tue, 21 Dec 2021 06:20:14 +0000 (07:20 +0100)]
Day 21: interesting

2 years agoDay 20: nothing to win, everything to lose
Jan "Yenya" Kasprzak [Tue, 21 Dec 2021 06:19:47 +0000 (07:19 +0100)]
Day 20: nothing to win, everything to lose

2 years agoDay 19: boring work, long and ugly code
Jan "Yenya" Kasprzak [Sun, 19 Dec 2021 08:15:04 +0000 (09:15 +0100)]
Day 19: boring work, long and ugly code

2 years agoDay 18: slightly cleaner solution
Jan "Yenya" Kasprzak [Sat, 18 Dec 2021 17:18:30 +0000 (18:18 +0100)]
Day 18: slightly cleaner solution

2 years agoDay 18: regexes! and read the task carefully
Jan "Yenya" Kasprzak [Sat, 18 Dec 2021 06:19:23 +0000 (07:19 +0100)]
Day 18: regexes! and read the task carefully

2 years agoDay 17: part 1 in bc(1) w/o programming, part 2 pretty simple
Jan "Yenya" Kasprzak [Fri, 17 Dec 2021 05:51:25 +0000 (06:51 +0100)]
Day 17: part 1 in bc(1) w/o programming, part 2 pretty simple

2 years ago32.pl: cleanup
Jan "Yenya" Kasprzak [Thu, 16 Dec 2021 08:32:12 +0000 (09:32 +0100)]
32.pl: cleanup

2 years agoDay 16: pretty straightforward parser
Jan "Yenya" Kasprzak [Thu, 16 Dec 2021 05:49:03 +0000 (06:49 +0100)]
Day 16: pretty straightforward parser

2 years agoDay 15: too slow
Jan "Yenya" Kasprzak [Wed, 15 Dec 2021 06:30:12 +0000 (07:30 +0100)]
Day 15: too slow

2 years agoget.sh: cat the input file
Jan "Yenya" Kasprzak [Tue, 14 Dec 2021 07:33:07 +0000 (08:33 +0100)]
get.sh: cat the input file

2 years ago28.pl: code cleanup
Jan "Yenya" Kasprzak [Tue, 14 Dec 2021 07:32:22 +0000 (08:32 +0100)]
28.pl: code cleanup

2 years agoDay 14: too slow. And no regexes :-(
Jan "Yenya" Kasprzak [Tue, 14 Dec 2021 05:55:40 +0000 (06:55 +0100)]
Day 14: too slow. And no regexes :-(

2 years ago26.pl - simpler solution with text-based keys "$x,$y"
Jan "Yenya" Kasprzak [Mon, 13 Dec 2021 11:51:19 +0000 (12:51 +0100)]
26.pl - simpler solution with text-based keys "$x,$y"

2 years agoget.sh: print the destination file name while waiting
Jan "Yenya" Kasprzak [Mon, 13 Dec 2021 05:28:36 +0000 (06:28 +0100)]
get.sh: print the destination file name while waiting

2 years agoDay 13: more off-by-one errors.
Jan "Yenya" Kasprzak [Mon, 13 Dec 2021 05:28:05 +0000 (06:28 +0100)]
Day 13: more off-by-one errors.