{"id":21615838,"url":"https://github.com/valango/adventofcode_2022","last_synced_at":"2025-07-09T18:10:39.663Z","repository":{"id":206789575,"uuid":"717695194","full_name":"valango/AdventOfCode_2022","owner":"valango","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-25T12:34:38.000Z","size":122,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T20:45:05.727Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/valango.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-12T09:31:05.000Z","updated_at":"2023-11-12T09:32:03.000Z","dependencies_parsed_at":"2023-11-25T13:27:11.136Z","dependency_job_id":"7f315ead-ca04-42ae-8bc8-56105768606a","html_url":"https://github.com/valango/AdventOfCode_2022","commit_stats":null,"previous_names":["valango/adventofcode_2022"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valango%2FAdventOfCode_2022","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valango%2FAdventOfCode_2022/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valango%2FAdventOfCode_2022/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valango%2FAdventOfCode_2022/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valango","download_url":"https://codeload.github.com/valango/AdventOfCode_2022/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244267475,"owners_count":20425835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T22:12:57.783Z","updated_at":"2025-03-18T17:19:12.911Z","avatar_url":"https://github.com/valango.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent Of Code '2022\n\nMy [adventofcode.com](https://adventofcode.com) adventures.\u003cbr /\u003e\n\nRight in time I had no time 😄, so I came back to this 11 months later.\n\n## Diary\n\n* `Day 01` **Calorie Counting**: simple summing and sorting -- spent most of the time trying to remember how to use my\n  fancy runner.\n* `Day 02` **Rock Paper Scissors**: simple game strategy modeling.\n* `Day 03` **Rucksack Reorganization**: simple summing and sorting.\n* `Day 04` **Camp Cleanup**: simple number sets operations.\n* `Day 05` **Supply Stacks**: simple stacks manipulations.\n* `Day 06` **Tuning Trouble**: simple numeric sequences analyse.\n* `Day 07` **No Space Left On Device**: simple filesystem tree emulation.\n* `Day 08` **Treetop Tree House**: simple 3D terrain emulation.\n* `Day 09.1` **Rope Bridge**: kinda Turtle Graphics emulation. Puzzle #1: 51 min and _answer too low_. In 5 min the\n  cause was found: input parsing error.\n* `Day 09.2` Did not understand the description first; the wasted crazy amount of time because of wrong \u003clength\u003e\n  argument value.\u003cbr\u003e\n  To figure out what goes wrong, I had to write a dedicated renderer!\n* `Day 10` **Cathode-Ray Tube**: #1 was super-simple; #2 involved reading of lengthy explanations.\n* `Day 11` **Monkey in the Middle**:\n  - #1 was simple computation based on quite wordy and hard to perceive explanation.\n  - #2 previous brute force solution failed w arithmetic overflow; it took some arithmetic analysis to find proper\n    solution. 💥 Pretty cool!\n* `Day 12` **Hill Climbing Algorithm**:\n  - #1 it appears that the input data is invalid: comparing `day12.out.txt` w input data reveals there is no\n    adjacendt `p` for existing `q`!\n* `Day 13` **Distress signal**:\n  - with some un-orthodox coding, the #1 was quite simple - wasted time on few stupid index check errors.\n  - very simple that time - just ordinary sorting (had to rewrite the input processing, though)\n\n## Track record\n\n| day | lines | mins1 | mins2 | M1_µs | M2_µs | D1_µs | D2_µs |\n|----:|------:|------:|------:|------:|------:|------:|------:|\n|  01 |    55 |       |       |    64 |     1 |     4 |     1 |\n|  02 |    62 |       |       |   770 |   796 |     2 |     2 |\n|  03 |    90 |       |       |   439 |   698 |   112 |    15 |\n|  04 |    56 |       |       |   283 |   247 |     3 |     3 |\n|  05 |    89 |       |       |   303 |   121 |     4 |     2 |\n|  06 |    53 |       |       |   278 |   341 |     2 |     1 |\n|  07 |   150 |       |       |  1933 |    24 |   131 |    25 |\n|  08 |   144 |       |       |  1399 |  1886 |   122 |    75 |\n|  09 |   117 |    56 |    3h | 12507 | 11513 |  1621 |   622 |\n|  10 |    63 |    25 |    40 |    21 |   329 |    27 |  1244 |\n|  11 |   106 |    30 |    3h |  1788 | 76862 |   575 | 13704 |\n|  12 |   104 |\n|  13 |    83 |    60 |    20 |   105 |  2667 |    15 |    31 |\n\nThe puzzle #2 time is often shorter, because the bulk of computations often happens during the #1 already.\n\n![](quote.png)\n\n## The older ones\n\n* [2021](https://github.com/valango/adventOfCode_2021);\n* [2020](https://github.com/valango/adventOfCode);\n* [2015](https://github.com/valango/AdventOfCode_2015).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalango%2Fadventofcode_2022","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalango%2Fadventofcode_2022","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalango%2Fadventofcode_2022/lists"}