Advent of Code 2021, see plus plus edition
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

28 lines
396 B

#include <iostream>
#include <fstream>
using namespace std;
auto parse_input(char *file)
{
ifstream input(file);
if (!input.is_open()) exit(1);
}
unsigned part1(auto input)
{
}
unsigned part2(auto input)
{
}
int main(int argc, char *argv[])
{
if (argc <= 1) return 1;
auto input = parse_input(argv[1]);
cout << part1(input) << endl;
cout << part2(input) << endl;
}