ee8dc537b8Merge remote-tracking branch 'origin/master'
Stefan Harmuth
2022-01-17 09:38:26 +0100
77dd1077e5Counter().most_common() is twice as fast as searching in a for-loop
Stefan Harmuth
2022-01-17 09:38:18 +0100
6d77259384move getGrid inside, it's rainy
Stefan Harmuth
2022-01-14 12:44:09 +0100
8552731bebnew test inputs \o/
Stefan Harmuth
2021-12-29 11:09:13 +0100
9c86a5691dwindows pycharm path
Stefan Harmuth
2021-12-29 08:32:44 +0100
04c61ab544include year and start_day
Stefan Harmuth
2021-12-28 10:05:13 +0100
7e7bdfc81dupdated AOCDay interface; missing download and submit (and start_day)
Stefan Harmuth
2021-12-27 13:55:51 +0100
951c465d91some reminders for next year
Stefan Harmuth
2021-12-25 07:02:34 +0100
e24b22d58asome reminders for next year
Stefan Harmuth
2021-12-25 06:59:36 +0100
d4715de60cday18: we should keep the working version in the repo
Stefan Harmuth
2021-12-25 06:50:13 +0100
d308a1df4dday25
Stefan Harmuth
2021-12-25 06:49:49 +0100
e856869912day24: remove useless method
Stefan Harmuth
2021-12-24 16:15:06 +0100
1bd309732bday24: much better
Stefan Harmuth
2021-12-24 16:12:30 +0100
35f71f42bcday24; half hand-solved, half brute-forced. Not happy with the outcome. Later need to come up with something that doesn't make assumptions about the input.
Stefan Harmuth
2021-12-24 08:55:30 +0100
7d7aee7c49day23
Stefan Harmuth
2021-12-23 18:50:19 +0100
c15534c0aaday23; having to work really doesn't help solving puzzles
Stefan Harmuth
2021-12-23 12:41:14 +0100
8b4e3b9951day23: p2 *should* work, but maximum recursion depth ...
Stefan Harmuth
2021-12-23 10:09:46 +0100
52668314e7day22; having to work really doesn't help solving puzzles
Stefan Harmuth
2021-12-22 17:08:57 +0100
2d6876fc58day22: splitting cubes is hard
Stefan Harmuth
2021-12-22 09:26:03 +0100
d87b56e0eeday21
Stefan Harmuth
2021-12-21 11:11:08 +0100
07ef7991e6day21: unfinished due to on-call interruption
Stefan Harmuth
2021-12-21 08:54:59 +0100
0ef34d1a32day18: there must be a better way to find left and right numbers instead of traversing the full tree again and again ...
Stefan Harmuth
2021-12-21 05:58:37 +0100
81bef8d2bfday18: trying to learn/play with binary trees
Stefan Harmuth
2021-12-20 16:49:58 +0100
16f5e881feday18: start implementing binary tree solution
Stefan Harmuth
2021-12-20 08:56:23 +0100
44148fd4aeday20
Stefan Harmuth
2021-12-20 08:14:34 +0100
9bd8cfe118day19: forgot the final result tests
Stefan Harmuth
2021-12-19 09:12:45 +0100
f909b2d97bday19: takes 20s to run (per part), but it gets the job done. Added to the list of "needs improvement later"
Stefan Harmuth
2021-12-19 09:11:38 +0100
9bcdd10ed7new ircbot interface; still some stuff to figure out
Stefan Harmuth
2021-12-18 20:47:45 +0100
963cde3ccdday18: don't double-search
Stefan Harmuth
2021-12-18 10:49:16 +0100
081eb3302aday18: regexp power!
Stefan Harmuth
2021-12-18 10:15:31 +0100
537abb62bdday18: slow as fuck, but working
Stefan Harmuth
2021-12-18 09:09:35 +0100
c05092a123day16: muuuuch nicer code
Stefan Harmuth
2021-12-17 16:39:20 +0100
23f9d800f8day16: muuuuch nicer code
Stefan Harmuth
2021-12-17 16:37:00 +0100
1339bd60f7day17: narrow search space some more
Stefan Harmuth
2021-12-17 08:39:21 +0100
c527de2e10day16: don't play with strings when calculating values ...
Stefan Harmuth
2021-12-17 07:48:06 +0100
09d316941eday16: main class code beautification
Stefan Harmuth
2021-12-17 07:37:51 +0100
c4db3e5192day17: minor code beautifications
Stefan Harmuth
2021-12-17 07:28:51 +0100
c2f01add9fday17: if velX == 0 and posX < minX, you'll never reach the target
Stefan Harmuth
2021-12-17 07:14:52 +0100
0a0c829454day17
Stefan Harmuth
2021-12-17 07:03:06 +0100
159ce3ca9fday16: remove some unnecessary code
Stefan Harmuth
2021-12-16 21:33:59 +0100
978e47db5bday16: version 1
Stefan Harmuth
2021-12-16 09:05:38 +0100
56c4e03322day15: minimal code beautifications
Stefan Harmuth
2021-12-15 12:49:06 +0100
8b31c6c531day15: add results as test
Stefan Harmuth
2021-12-15 11:33:14 +0100
cd0985c692day15 (w/o final tests for now)
Stefan Harmuth
2021-12-15 09:41:39 +0100
765f74e765day14: code shortening (*params are cool :)
Stefan Harmuth
2021-12-14 09:38:06 +0100
55e62174dbday14
Stefan Harmuth
2021-12-14 06:43:48 +0100
1d3df3bdb8day13: massive speed-up by getting only active cells (already Coordinate()s) in a row/column from Grid()
Stefan Harmuth
2021-12-13 11:11:37 +0100
1fd5b27944day13: no need to join, just to split again afterwards ...
Stefan Harmuth
2021-12-13 07:03:00 +0100
eb62a58f20day13: test final answer on p1
Stefan Harmuth
2021-12-13 06:52:33 +0100
9fdfcf4682day13
Stefan Harmuth
2021-12-13 06:51:26 +0100
53c472b912minor changes to accomodate for pypy
Stefan Harmuth
2021-12-12 17:39:15 +0100
03f0491671day12: go even faster
Stefan Harmuth
2021-12-12 07:50:58 +0100
9a327ec92aday12: go faster
Stefan Harmuth
2021-12-12 07:41:40 +0100
86745e1d2cday12: defaultdicts ... TIL
Stefan Harmuth
2021-12-12 07:17:21 +0100
457be373ffday12
Stefan Harmuth
2021-12-12 07:01:26 +0100
67479e5045add final answers as test cases to we can make sure we didn't break anything in the past later in the event
Stefan Harmuth
2021-12-11 07:02:29 +0100
ed80d29609day11: testing for set() and len(set()) > 0 is the same
Stefan Harmuth
2021-12-11 06:49:39 +0100
65c31164f5day11
Stefan Harmuth
2021-12-11 06:44:04 +0100
4a8b06b141day10
Stefan Harmuth
2021-12-10 06:40:18 +0100
d7810cbe35fixed imports
Stefan Harmuth
2021-12-09 06:41:55 +0100
83385d81e6day09: slightly optimized
Stefan Harmuth
2021-12-09 06:33:46 +0100
08f93c574aday09
Stefan Harmuth
2021-12-09 06:26:37 +0100
b8153c5a85day08: code beautification
Stefan Harmuth
2021-12-08 07:15:36 +0100
9bb1724832day08
Stefan Harmuth
2021-12-08 06:44:04 +0100
0100719decday07: remove unused import
Stefan Harmuth
2021-12-07 11:10:11 +0100
86013c25c0day07: binary searching makes this go *much* faster
Stefan Harmuth
2021-12-07 11:06:12 +0100
bd8e57bf81aocrr-bot: back to #aocrr
Stefan Harmuth
2021-12-07 08:36:19 +0100
9079bd2b01aocrr-bot: finally implement !today
Stefan Harmuth
2021-12-07 08:34:49 +0100
f4455f1c56day07: code beautification
Stefan Harmuth
2021-12-07 06:46:21 +0100
4a45434585day07
Stefan Harmuth
2021-12-07 06:12:44 +0100
767a93aa46evolve aocrr-bot
Stefan Harmuth
2021-12-06 09:17:11 +0100
06edb03388day06
Stefan Harmuth
2021-12-06 06:21:32 +0100
932549ad4cday06
Stefan Harmuth
2021-12-06 06:17:00 +0100
1dc4687c7aevolve aocrr-bot
Stefan Harmuth
2021-12-06 05:58:04 +0100
1ee8f42c4bevolve aocrr-bot
Stefan Harmuth
2021-12-06 05:55:43 +0100
e9a633edcdevolve aocrr-bot
Stefan Harmuth
2021-12-05 16:07:36 +0100
5ae5bb4dfastart aocrr-bot
Stefan Harmuth
2021-12-05 16:04:45 +0100
bf0b19a1b9day05: Coordinate() learned a new trick :)
Stefan Harmuth
2021-12-05 07:16:09 +0100
da4b6567a3day05
Stefan Harmuth
2021-12-05 06:47:10 +0100
1c0ce1b3d2day04: hey, el stupido, split() defaults to "any number of whitespaces" ... and ignores leading whitespaces ...
Stefan Harmuth
2021-12-04 08:09:20 +0100
8baf191718day04: hey, el stupido, split() defaults to "any number of whitespaces" ...
Stefan Harmuth
2021-12-04 08:08:17 +0100
a5c0c65466day04
Stefan Harmuth
2021-12-04 06:51:59 +0100
0030862819leaderboard time exposal
Stefan Harmuth
2021-12-03 08:07:06 +0100
c70bcd86daday03
Stefan Harmuth
2021-12-03 06:57:21 +0100
dde2715d2eday03
Stefan Harmuth
2021-12-03 06:39:52 +0100
5904ced66bday02: more code beautification
Stefan Harmuth
2021-12-02 07:04:56 +0100
2431b0fd8dday02: code beautification
Stefan Harmuth
2021-12-02 06:29:31 +0100
a0b4513d31day02
Stefan Harmuth
2021-12-02 06:22:57 +0100
abe1fc1532day01: and p1 is the same as p2, btw ...
Stefan Harmuth
2021-12-01 07:05:50 +0100
fcfdcd220cday01: the "mid" part cancels out ...
Stefan Harmuth
2021-12-01 06:36:34 +0100
d07daa6422day01
Stefan Harmuth
2021-12-01 06:13:44 +0100
6a7054552cuse central aoc lib instead of carrying a seperate one for every year
Stefan Harmuth
2021-11-26 07:54:28 +0100