add readme + added day5

This commit is contained in:
PoliEcho 2024-12-13 15:04:22 +01:00
parent 598de252fe
commit ca88560dc8
2 changed files with 22 additions and 0 deletions

18
day5/day.cpp Normal file
View File

@ -0,0 +1,18 @@
#include <fstream>
#include <iostream>
#include <vector>
int main() {
std::ifstream inputfile("input");
std::string input;
int res = 0;
if (!inputfile.is_open()) {
std::cerr << "Could not open the file" << std::endl;
return ENOENT;
}
std::string line;
std::vector<std::vector<char>> wordsearch;
while (std::getline(inputfile, line)) {
}
}

4
readme.md Normal file
View File

@ -0,0 +1,4 @@
# My advent of code 2024 solutions
> [!NOTE]\
> If something does not work try removing empty line at the end of the input