第23天: Rust第一部分是求有向图的最长路径,第二部分变成无向图,因此是NP Hard XD 还好输入数据不大,可以暴力DFS,但至少要先把图构造起来。写得乱七八糟,可耻。 第二部分在M1 Max上单线程跑了50秒。我的图论…
Advent of Code 2023 (Rust). Contribute to bozdoz/advent-of-code-2023 development by creating an account on GitHub.
Solutions for https://adventofcode.com/2023/ in Fortran - adventofcode2023-fortran/inputfiles/day23_example.txt at main · HbHbNr/adventofcode2023-fortran
Advent-of-Code-2023St**凝视 上传45.45 KB 文件格式 zip 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 ...
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**| | | ...
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 ...
第20天: Swift有点像2022年的第21天题目,第2部分是第1部分的逆运算。不过我偷懒暴力解了第2部分,回头再重新写看看。 Swift的vscode LSP老是死掉,不好用。 第21天: Lean4终于来到了今年第二部分卡人比例最高的题…
Advent of Code 2023 Advent of Code 是一年一度的编程谜题活动,里面包含着各种技能组合和技能水平的问题,参与者可以使用自己任何擅长喜欢的编程语言来解谜,谜题背后是精心构建的故事情节,让参与者挑战的同时,也享受到娱乐放松。 Advent of Code 在每年的圣诞节前 25 天开始,每天的题目分为两部分,第二部分会更难...
https://adventofcode.com/2023 Day 1 Part 1 (*读取文件*)lines= ReadList["E:\\ExplorerDownload\input.txt", String]; (*计算校准值*) calibrationValues = ToExpression[ StringJoin[#[[1]], #[[-1]]] & /@ (StringCases[#, DigitCharacter] & /@lines); (...
Advent of code 2023のDay 5: If You Give A Seed A FertilizerをElixirで解きました。 Advent of code 2023は己との闘い、まさに闘魂です。リポジトリにあげておきます。人類は不老不死の霊薬を意味する素敵なプログラミング言語Elixirを手に入れました。並行処理を他のプログラミング言語より...