第17天: C++ 20 Dijkstra算法求图最短路径是AoC的固定项目,每年都有一两道。今年的变化比去年麻烦一点,需要多记录一些最近移动信息。第18天: Nim 第18天其实是重复第10天第2部分的求凹多边形面积,只是加大了输入范围不让你再用位图来算。 Nim语言和D, Crystal一样都挺适合做题的。第19天: Haskell...
I’m going to run every piece of the code on Linux Mint 21.2 VirtualBox machine with 4 cores and 8GB of memory, hosted on my personal PC with Ryzen 3700X and DDR4 at 3200MHz. I will use OTP 26.1.1. Day 1 Part 1 I would never suspect that I’ll begin the AoC challenge with ...
day_11 day 11 Dec 11, 2023 day_12 day 12, part 2, using caching Dec 13, 2023 day_13 day 13 Dec 14, 2023 day_14 day 14 Dec 14, 2023 day_15 day 15 Dec 16, 2023 day_16 fix day 16 (something went wrong with the commit) Dec 17, 2023 day_17 day 17 Dec 21, 2023 day_18...
npx giget gh:matijaoe/advent-of-code advent-of-code-2023Ensure bun is installed:bun -v # if not installed, run this: curl -fsSL https://bun.sh/install | bash Install dependencies:bun installSet up a new day:bun setup 1Run day solutions:bun day 1...
Advent of Code 2023 is an annual coding event that challenges programmers with daily algorithmic problems. The solutions to these problems typically involve a mix of data structures, algorithms, and problem-solving skills. While the total number of participants in the event may not be very high,...
第14天: Crystal第15天: Idris 2第16天: C#第14天的第一部分很简单,类似 去年第14天。第二部分类似去年第17天的第二部分俄罗斯方块无限下落,要寻找重复的模式。这一天用了Crystal,类Ruby的编译型语言。Crystal…
Oursponsorshelp make Advent of Code possible: Ansys- Make this holiday season unforgettable with Ansys. Join the Ansys developer community, search jobs, and SHINE in your favorite language. .---. .---..--' | .-' '-.1**.--' | | |2**.---' | | |3**| | | |4**| | | ...
https://adventofcode.com/2023 Day 1 Part 1 (*读取文件*)lines= ReadList["E:\\ExplorerDownload\input.txt", String]; (*计算校准值*) calibrationValues = ToExpression[ StringJoin[#[[1]], #[[-1]]] & /@ (StringCases[#, DigitCharacter] & /@lines); (...
Find file Code day 15 Manouk authored 1 year ago 9374c038 History Name Last commit Last update Models day 10 (unfinished), 11 and 13 1 year ago PuzzleLogic day 15 1 year ago .editorconfig Initial commit 1 year ago .gitignore Initial commit 1 year ago AdventOfCode2023aspDOTnet....
Advent of Code 2023 Advent of Code 是一年一度的编程谜题活动,里面包含着各种技能组合和技能水平的问题,参与者可以使用自己任何擅长喜欢的编程语言来解谜,谜题背后是精心构建的故事情节,让参与者挑战的同时,也享受到娱乐放松。 Advent of Code 在每年的圣诞节前 25 天开始,每天的题目分为两部分,第二部分会更难...