blob: 510f65d987b199d4c1cb149779e5937e913a2e72 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# advent of code
Yearly Advent of Code work.
## 2022 ⭐ 10/10
```bash
# Nim
cd 2022
cd nim/day01
choosenim stable
nim compile --run src/main.nim input.txt
# Rust
cd ../../
cd rust/day01
rustup toolchain default nightly
cargo run input.txt
```
## 2021 ⭐ 18/50
```bash
# Python
cd 2021
python3 01.py input/01.txt
```
## 2020 ⭐ 37/50
```bash
# Nim
cd 2020
choosenim 1.6.10
nim compile --run one.nim input/one.txt
```
## 2019 ⭐ 10/50
```bash
cd 2019
# Go
go run one.go input/one.txt
# Nim
nim compile --run one.nim input/one.txt
```
## 2018 ⭐ 6/50
```bash
# Python
cd 2018
python3 01.py input/01.txt
```
|