Created base solution struct and added all 25 days
This commit is contained in:
@ -10,12 +10,13 @@ struct SDay {
|
||||
SDay(std::string);
|
||||
~SDay();
|
||||
|
||||
virtual Output part1() const {};
|
||||
virtual Output part2() const {};
|
||||
virtual Output part1() const = 0;
|
||||
virtual Output part2() const = 0;
|
||||
};
|
||||
|
||||
template <typename Output>
|
||||
SDay<Output>::SDay(std::string name) {
|
||||
this->name = name;
|
||||
input.open("input/" + name, std::ios::in);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user