This year in Dart - using it the first time!
.
├── day-DD/ each day has its own directory
│ ├── input.txt my individual input (for both parts)
│ └── part-N/ part one or two of the day's challenge
│ ├── main.dart the program computing the result
│ └── test-input.txt example input (same for everyone)
└── README.md
Navigate to the program's directory and run it with dart run main.dart
.
You can switch between the test input and the real input by changing the path in main.dart
.
- File('../input.txt')
+ File('test-input.txt')