aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 108aa21d856999ea6920a250e1a9182889edf11f (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
57
58
59
60
61
62
63
64
# advent of code

Yearly Advent of Code work.

## 2023 ⭐ 2/2

```bash
# Nim
cd 2023
nim c -r nim/day01.nim input/day01.txt
```

## 2022 ⭐ 33/50

```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 ⭐ 41/50

```bash
# Nim
cd 2020
choosenim 1.6.10
nim compile --run one.nim input/one.txt
```

## 2019 ⭐ 10/50

```bash
# Go
cd 2019
go run go/day01.go input/day01.txt

# Nim
cd ..
nim compile --run nim/day01.nim input/day01.txt
```

## 2018 ⭐ 6/50

```bash
# Python
cd 2018
python3 01.py input/01.txt
```