Advent of Code 2021 in c++
The code is compiled in Ubuntu Mate 21.10 with:
First part:
clear && g++ -std=c++20 -o dayXa dayXa.cpp -Wall -Wextra -Wpedantic -O3 && ./dayXa
Second part:
clear && g++ -std=c++20 -o dayXb dayXb.cpp -Wall -Wextra -Wpedantic -O3 && ./dayXb
where X is the day you want to compile.
[X] Day 01: https://adventofcode.com/2021/day/1
[X] Day 02: https://adventofcode.com/2021/day/2
[X] Day 03: https://adventofcode.com/2021/day/3
[X] Day 04: https://adventofcode.com/2021/day/4
[X] Day 05: https://adventofcode.com/2021/day/5
[X] Day 06: https://adventofcode.com/2021/day/6
[X] Day 07: https://adventofcode.com/2021/day/7
[X] Day 08: https://adventofcode.com/2021/day/8
[X] Day 09: https://adventofcode.com/2021/day/9
[X] Day 10: https://adventofcode.com/2021/day/10
[X] Day 11: https://adventofcode.com/2021/day/11
[X] Day 12: https://adventofcode.com/2021/day/12
[X] Day 13: https://adventofcode.com/2021/day/13
[X] Day 14: https://adventofcode.com/2021/day/14
[X] Day 15: https://adventofcode.com/2021/day/15
[X] Day 16: https://adventofcode.com/2021/day/16
[X] Day 17: https://adventofcode.com/2021/day/17
[ ] Day 18: https://adventofcode.com/2021/day/18
[ ] Day 19: https://adventofcode.com/2021/day/19
[ ] Day 20: https://adventofcode.com/2021/day/20
[ ] Day 21: https://adventofcode.com/2021/day/21
[ ] Day 22: https://adventofcode.com/2021/day/22
[ ] Day 23: https://adventofcode.com/2021/day/23
[ ] Day 24: https://adventofcode.com/2021/day/24
[ ] Day 25: https://adventofcode.com/2021/day/25