Skip to content

jjjxu/badvent_of_code_21

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

badvent_of_code_21

Jerry's really horrendous at writing clean code. Or code at all.

more details

I wrote most of this project first in Java first for speed, and then rewrote it in Python (and potentially other languages to learn). Day 12 onwards was written in Python.

My initial speed code has not been refactored in any way - it is left as-is.

My Python code makes use of numpy very heavily.

results

(when I don't forget to update)

Day P1 solve time P1 rank P2 solve time P2 rank
1 started late - started late -
2 05:20 3450 07:26 (02:06) 2460
3 06:50 1288 27:44 (20:54) 2077
4 17:04 865 18:56 (01:52) 520
5 10:07 670 22:47 (12:40) 1241
6 4:23 407 10:39 (06:16) 546
7 6:43 2585 7:46 (01:03) 1026
8 7:40 982 1:02:09 (54:29) 2205
9 20:03 4713 32:49 (12:46) 2181
10 4:56 223 10:28 (05:32) 273
11 20:00 1263 23:45 (03:45) 1341
12 28:02 2493 31:23 (03:21) 1316
13 11:09 498 20:26 (09:17) 923
14 14:43 1953 47:45 (33:02) 2054
15 17:47 977 54:52 (37:05) 1733
16 30:17 335 38:02 (07:45) 364
17 14:02 435 18:20 (04:18) 348
18 1:43:58 1280 1:51:36 (07:38) 1251
19 too difficult - too difficult -
20 52:02 1774 59:48 (07:46) 1812
21 12:36 1068 1:04:00 (51:24) 1424
22 08:08 293 ~18 hours brute force
23 49:48 745 1:02:07 (12:19) 67
24 1:13:49 113 1:15:25 (01:36) 98
25 slow - too slow -

Notes:

  • Day 1 started late
  • Day 7 had a submission issue because servers were overloaded
  • Day 19 was too difficult, did not solve within 24hrs.
  • Day 22 part 2 was a brute force. Suffice to say that it's the most lopsided finish I've seen in AoC for a while.
  • Day 23 was manually solved because I forgot how to code entirely.
  • Day 24 was also manually solved, cuz coding difficult.
  • Day 25 was difficult because I had to get back into the swing of things coding and forgot how to code again.

About

Self-documenting, to some degree?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published