aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: f33bcd320b5c9891e576b5cd3c9435dc8e1f19f7 (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 ⭐ 22/22

```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 ⭐ 38/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
```