Improved template

This commit is contained in:
Sven Heidemann 2023-11-29 09:44:44 +00:00
parent 73275306fb
commit 9dd51e75ba

View File

@ -2,9 +2,13 @@ import 'aoc/helper.dart';
String input = ""; String input = "";
void firstPart() {} String firstPart() {
return "unsolved";
}
void secondPart() {} String secondPart() {
return "unsolved";
}
Future<void> main(List<String> args) async { Future<void> main(List<String> args) async {
if (args.isEmpty) { if (args.isEmpty) {
@ -20,6 +24,6 @@ Future<void> main(List<String> args) async {
input = await getInput(year, day); input = await getInput(year, day);
print('Advent of code $year day $day'); print('Advent of code $year day $day');
firstPart(); print('First part result: ${firstPart()}');
secondPart(); print('Second part result: ${secondPart()}');
} }