]>
www.fi.muni.cz Git - aoc.git/log
Jan "Yenya" Kasprzak [Sun, 3 Dec 2023 06:21:44 +0000 (07:21 +0100)]
Day 3: quite ugly code
Jan "Yenya" Kasprzak [Sat, 2 Dec 2023 05:12:06 +0000 (06:12 +0100)]
Day 2: pretty straightforward
Jan "Yenya" Kasprzak [Fri, 1 Dec 2023 06:04:17 +0000 (07:04 +0100)]
2023 day 1 part 2: prettier solution
Jan "Yenya" Kasprzak [Fri, 1 Dec 2023 06:03:46 +0000 (07:03 +0100)]
2023 day 1: spelling errors
Jan "Yenya" Kasprzak [Tue, 21 Nov 2023 21:35:11 +0000 (22:35 +0100)]
Rest of 2019
Jan "Yenya" Kasprzak [Mon, 13 Nov 2023 09:44:48 +0000 (10:44 +0100)]
2019 day 19
Jan "Yenya" Kasprzak [Mon, 13 Nov 2023 09:14:39 +0000 (10:14 +0100)]
2019 day 18 - slow and ugly bruteforce
Jan "Yenya" Kasprzak [Fri, 10 Nov 2023 16:48:14 +0000 (17:48 +0100)]
2019 day 15 and 17
Jan "Yenya" Kasprzak [Fri, 10 Nov 2023 15:15:17 +0000 (16:15 +0100)]
2019 day 16 solutions
Jan "Yenya" Kasprzak [Mon, 2 Jan 2023 14:37:07 +0000 (15:37 +0100)]
Day 23
Jan "Yenya" Kasprzak [Mon, 2 Jan 2023 07:02:30 +0000 (08:02 +0100)]
AoC::Task: restore $/ before prompting user
Jan "Yenya" Kasprzak [Sun, 25 Dec 2022 05:45:33 +0000 (06:45 +0100)]
Day 25: symmetric base-5
Jan "Yenya" Kasprzak [Sat, 24 Dec 2022 06:23:56 +0000 (07:23 +0100)]
Day 22: cube
Jan "Yenya" Kasprzak [Sat, 24 Dec 2022 06:13:17 +0000 (07:13 +0100)]
Day 24: priority queue with memoization
Jan "Yenya" Kasprzak [Wed, 21 Dec 2022 08:07:56 +0000 (09:07 +0100)]
Infrastructure cleanups
Jan "Yenya" Kasprzak [Wed, 21 Dec 2022 07:56:22 +0000 (08:56 +0100)]
Day 6: cleanup
Jan "Yenya" Kasprzak [Wed, 21 Dec 2022 07:46:47 +0000 (08:46 +0100)]
Infrastructure mods
Jan "Yenya" Kasprzak [Wed, 21 Dec 2022 07:44:31 +0000 (08:44 +0100)]
Day 21: slightly polished solution
Jan "Yenya" Kasprzak [Wed, 21 Dec 2022 07:20:00 +0000 (08:20 +0100)]
Day 21: first ugly eval-based working solution
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
Jan "Yenya" Kasprzak [Tue, 20 Dec 2022 08:33:39 +0000 (09:33 +0100)]
Day 20: Examine the input carefully!
Jan "Yenya" Kasprzak [Mon, 19 Dec 2022 14:27:36 +0000 (15:27 +0100)]
Day 19: pruning by remaining time (credits: Honza Obdrzalek)
Jan "Yenya" Kasprzak [Mon, 19 Dec 2022 14:26:40 +0000 (15:26 +0100)]
run: sigint handling, native backups
Jan "Yenya" Kasprzak [Mon, 19 Dec 2022 12:35:14 +0000 (13:35 +0100)]
Day 19: pruning the DFS
Jan "Yenya" Kasprzak [Sun, 18 Dec 2022 06:11:35 +0000 (07:11 +0100)]
Day 18: interesting
Jan "Yenya" Kasprzak [Sat, 17 Dec 2022 07:23:03 +0000 (08:23 +0100)]
Day 17: quite tedious
Jan "Yenya" Kasprzak [Fri, 16 Dec 2022 20:09:03 +0000 (21:09 +0100)]
New fancy infrastructure: downloader, inotify watcher, submitter
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 :-(
Jan "Yenya" Kasprzak [Thu, 15 Dec 2022 07:49:04 +0000 (08:49 +0100)]
Day 15: a bit polished, but still slow (43s)
Jan "Yenya" Kasprzak [Thu, 15 Dec 2022 07:03:38 +0000 (08:03 +0100)]
Day 15: first ugly naive working solution
Jan "Yenya" Kasprzak [Wed, 14 Dec 2022 07:47:54 +0000 (08:47 +0100)]
Day 14: slightly polished solution
Jan "Yenya" Kasprzak [Wed, 14 Dec 2022 07:05:00 +0000 (08:05 +0100)]
Day 14: pretty straightforward
Jan "Yenya" Kasprzak [Tue, 13 Dec 2022 07:16:57 +0000 (08:16 +0100)]
Day 13: polished solution
Jan "Yenya" Kasprzak [Tue, 13 Dec 2022 05:43:04 +0000 (06:43 +0100)]
Day 13: eval and too long special-casing
Jan "Yenya" Kasprzak [Tue, 13 Dec 2022 05:42:40 +0000 (06:42 +0100)]
Day 12: not very complicated BFS
Jan "Yenya" Kasprzak [Sun, 11 Dec 2022 05:20:08 +0000 (06:20 +0100)]
Day 11: nice!
Jan "Yenya" Kasprzak [Sat, 10 Dec 2022 05:44:19 +0000 (06:44 +0100)]
Day 10: off-by-ones
Jan "Yenya" Kasprzak [Fri, 9 Dec 2022 05:28:32 +0000 (06:28 +0100)]
Day 9: quite tedious, resembling real work :-)
Jan "Yenya" Kasprzak [Thu, 8 Dec 2022 09:11:44 +0000 (10:11 +0100)]
get.sh: fix for $URLDAY
Jan "Yenya" Kasprzak [Thu, 8 Dec 2022 07:51:26 +0000 (08:51 +0100)]
Day 8: Perl-ish solution with closures
Jan "Yenya" Kasprzak [Thu, 8 Dec 2022 05:23:10 +0000 (06:23 +0100)]
Day 8: dummy solution with off-by-one errors
Jan "Yenya" Kasprzak [Wed, 7 Dec 2022 05:19:20 +0000 (06:19 +0100)]
Day 7: nice!
Jan "Yenya" Kasprzak [Tue, 6 Dec 2022 06:58:33 +0000 (07:58 +0100)]
Day 6: rewrite after misreading the task
Jan "Yenya" Kasprzak [Mon, 5 Dec 2022 18:39:01 +0000 (19:39 +0100)]
Day 5: more Perl-ish input parsing
Jan "Yenya" Kasprzak [Mon, 5 Dec 2022 05:16:48 +0000 (06:16 +0100)]
Day 5: parsing input
Jan "Yenya" Kasprzak [Sun, 4 Dec 2022 05:13:07 +0000 (06:13 +0100)]
Day 4 part 2: after waking up
Jan "Yenya" Kasprzak [Sun, 4 Dec 2022 05:11:25 +0000 (06:11 +0100)]
Day 4: 2nd part too slow
Jan "Yenya" Kasprzak [Sat, 3 Dec 2022 06:10:22 +0000 (07:10 +0100)]
Day 3: use $_ everywhere
Jan "Yenya" Kasprzak [Sat, 3 Dec 2022 06:02:16 +0000 (07:02 +0100)]
Day 3: regexp-based solution
Jan "Yenya" Kasprzak [Sat, 3 Dec 2022 05:13:57 +0000 (06:13 +0100)]
Day 3: it took too long to write this.
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!
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/
Jan "Yenya" Kasprzak [Thu, 1 Dec 2022 05:06:27 +0000 (06:06 +0100)]
Day 1
Jan "Yenya" Kasprzak [Thu, 1 Dec 2022 05:06:01 +0000 (06:06 +0100)]
get.sh - day in URL is w/o leading sero
Jan "Yenya" Kasprzak [Fri, 25 Nov 2022 08:08:47 +0000 (09:08 +0100)]
Fixup for 2018 day 15/2
Jan "Yenya" Kasprzak [Thu, 24 Nov 2022 15:58:37 +0000 (16:58 +0100)]
First half of Year 2019
Jan "Yenya" Kasprzak [Thu, 24 Nov 2022 15:56:41 +0000 (16:56 +0100)]
Year 2018
Jan "Yenya" Kasprzak [Thu, 24 Nov 2022 15:56:03 +0000 (16:56 +0100)]
The rest of Year 2016
Jan "Yenya" Kasprzak [Thu, 24 Nov 2022 15:54:59 +0000 (16:54 +0100)]
Year 2015
Jan "Yenya" Kasprzak [Thu, 24 Nov 2022 15:54:01 +0000 (16:54 +0100)]
The rest of Year 2017
Jan "Yenya" Kasprzak [Thu, 24 Nov 2022 15:52:17 +0000 (16:52 +0100)]
Mods from 2021
Jan "Yenya" Kasprzak [Thu, 24 Nov 2022 15:49:06 +0000 (16:49 +0100)]
Mods from 2020
Jan "Yenya" Kasprzak [Sun, 16 Jan 2022 22:21:28 +0000 (23:21 +0100)]
AoC 2017 days 11 to 15
Jan "Yenya" Kasprzak [Sun, 16 Jan 2022 18:31:51 +0000 (19:31 +0100)]
AoC 2017 begins
Jan "Yenya" Kasprzak [Tue, 11 Jan 2022 23:19:08 +0000 (00:19 +0100)]
Year 2016, days 1-10: so far pretty interesting
Jan "Yenya" Kasprzak [Mon, 3 Jan 2022 18:03:20 +0000 (19:03 +0100)]
Merge branch 'aoc2021'
Jan "Yenya" Kasprzak [Mon, 3 Jan 2022 18:02:04 +0000 (19:02 +0100)]
Moved 2021 to a subdir
Jan "Yenya" Kasprzak [Mon, 3 Jan 2022 17:59:26 +0000 (18:59 +0100)]
Moved 2020 to a subdir
Jan "Yenya" Kasprzak [Sat, 25 Dec 2021 05:19:27 +0000 (06:19 +0100)]
Day 25: pretty straightforward
Jan "Yenya" Kasprzak [Fri, 24 Dec 2021 06:37:35 +0000 (07:37 +0100)]
Day 24: brute force on many CPUs
Jan "Yenya" Kasprzak [Thu, 23 Dec 2021 10:03:03 +0000 (11:03 +0100)]
Day 23: too long, too complicated. Do not read this.
Jan "Yenya" Kasprzak [Wed, 22 Dec 2021 08:05:24 +0000 (09:05 +0100)]
44.pl: cleaner version, for arbitrary dimension
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
Jan "Yenya" Kasprzak [Tue, 21 Dec 2021 07:20:44 +0000 (08:20 +0100)]
42.pl: a bit cleaner version
Jan "Yenya" Kasprzak [Tue, 21 Dec 2021 06:20:14 +0000 (07:20 +0100)]
Day 21: interesting
Jan "Yenya" Kasprzak [Tue, 21 Dec 2021 06:19:47 +0000 (07:19 +0100)]
Day 20: nothing to win, everything to lose
Jan "Yenya" Kasprzak [Sun, 19 Dec 2021 08:15:04 +0000 (09:15 +0100)]
Day 19: boring work, long and ugly code
Jan "Yenya" Kasprzak [Sat, 18 Dec 2021 17:18:30 +0000 (18:18 +0100)]
Day 18: slightly cleaner solution
Jan "Yenya" Kasprzak [Sat, 18 Dec 2021 06:19:23 +0000 (07:19 +0100)]
Day 18: regexes! and read the task carefully
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
Jan "Yenya" Kasprzak [Thu, 16 Dec 2021 08:32:12 +0000 (09:32 +0100)]
32.pl: cleanup
Jan "Yenya" Kasprzak [Thu, 16 Dec 2021 05:49:03 +0000 (06:49 +0100)]
Day 16: pretty straightforward parser
Jan "Yenya" Kasprzak [Wed, 15 Dec 2021 06:30:12 +0000 (07:30 +0100)]
Day 15: too slow
Jan "Yenya" Kasprzak [Tue, 14 Dec 2021 07:33:07 +0000 (08:33 +0100)]
get.sh: cat the input file
Jan "Yenya" Kasprzak [Tue, 14 Dec 2021 07:32:22 +0000 (08:32 +0100)]
28.pl: code cleanup
Jan "Yenya" Kasprzak [Tue, 14 Dec 2021 05:55:40 +0000 (06:55 +0100)]
Day 14: too slow. And no regexes :-(
Jan "Yenya" Kasprzak [Mon, 13 Dec 2021 11:51:19 +0000 (12:51 +0100)]
26.pl - simpler solution with text-based keys "$x,$y"
Jan "Yenya" Kasprzak [Mon, 13 Dec 2021 05:28:36 +0000 (06:28 +0100)]
get.sh: print the destination file name while waiting
Jan "Yenya" Kasprzak [Mon, 13 Dec 2021 05:28:05 +0000 (06:28 +0100)]
Day 13: more off-by-one errors.
Jan "Yenya" Kasprzak [Sun, 12 Dec 2021 05:27:34 +0000 (06:27 +0100)]
Day 12: graph walking. Quite interesting.
Jan "Yenya" Kasprzak [Sat, 11 Dec 2021 05:53:17 +0000 (06:53 +0100)]
22.pl: cleaner version
Jan "Yenya" Kasprzak [Sat, 11 Dec 2021 05:37:07 +0000 (06:37 +0100)]
Day 11: too much coding
Jan "Yenya" Kasprzak [Fri, 10 Dec 2021 05:26:15 +0000 (06:26 +0100)]
Day 10: nice text-based substitutions
Jan "Yenya" Kasprzak [Thu, 9 Dec 2021 07:56:34 +0000 (08:56 +0100)]
Day 9 task 2: one-pass solution
Jan "Yenya" Kasprzak [Thu, 9 Dec 2021 07:21:48 +0000 (08:21 +0100)]
Day 9: special cases. not pretty.
Jan "Yenya" Kasprzak [Wed, 8 Dec 2021 06:50:03 +0000 (07:50 +0100)]
get.sh: better output, auto wait, input stats
Jan "Yenya" Kasprzak [Wed, 8 Dec 2021 06:40:30 +0000 (07:40 +0100)]
.gitignore: test input files
Jan "Yenya" Kasprzak [Wed, 8 Dec 2021 06:37:40 +0000 (07:37 +0100)]
Day 8: a bit cleaner version
Jan "Yenya" Kasprzak [Wed, 8 Dec 2021 05:48:59 +0000 (06:48 +0100)]
Day 8: permutations and y///;
Jan "Yenya" Kasprzak [Tue, 7 Dec 2021 05:25:25 +0000 (06:25 +0100)]
Day 7: My brain was too sluggish today.