AdventOfCode2022/2
2022-12-04 01:07:50 +01:00
..
.gitignore removed unnecessary files 2022-12-03 02:57:48 +01:00
main.cpp added day 2 task 2 2022-12-03 03:32:31 +01:00
README.md Added info to readmes 2022-12-04 01:07:50 +01:00
scores.txt added day 2 task 2 2022-12-03 03:32:31 +01:00

Day 2

🎁🎁 Today's language: C++

We use that chars are just numbers, so we can easily convert them into the respective points by just subtracting 'A' or 'X'. The rest is then just a few if elses.

# What would your total score be if everything goes exactly according to your strategy guide?
g++ main.cpp -o day2
./day2