- C++ 14 Standard
- C# (.NET Framework 4.7.2)
- Go 1.17.5
- Java 17.0.1
- Node.js 17.2.0
- PHP 8.0.13
- Python 3.10
Click on day number to go to day description
Click on star to go to code.
Day | C++ | C# | GO | Java | Node.js | PHP | Python |
---|---|---|---|---|---|---|---|
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 | ❌❌ | ❌❌ | ❌❌ | ❌❌ | ❌❌ | ❌❌ | ❌❌ |
Get the code:
git clone https://github.com/Simik31/AOC-2021.git
Open cpp/cpp.sln
in Visual Studio to build and run the project.
Open cs/cs.sln
in Visual Studio to build and run the project.
Run for platform
x64
(and ideally inRelease
mode)!Data paths are hardcoded to
x64
path (x64
has to go 5x../
whileAny CPU
has to go../
only 4x).
cd ./go
go run .
Open java/AOC-2021.iml
in IntelliJ IDEA to run the project.
Run the project by clicking on the green arrow next to the
public class Main {
inMain.java
.
cd ./nodejs
node .
❗PHP solution of Day 7 Part 2 is for whatever reason extremely slow. Please be patient.
-
Run local server.
-
In browser:
-
Access
/index.php
for all solutions -
Access
/Day#.php
where # stands for day numberExample:
/Day5.php
will get you solution of day 5.
-
cd ./python
python main.py
Or you can run each solution separate:
cd ./python
python Day1.py
python Day2.py
...
Copyright (C) 2021 Simik31. All rights reserved.
Licensed under the WTFPL License.