#include #include 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; }