aboutsummaryrefslogtreecommitdiff
path: root/src/Day01.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/Day01.kt')
-rw-r--r--src/Day01.kt17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Day01.kt b/src/Day01.kt
new file mode 100644
index 0000000..35b4e09
--- /dev/null
+++ b/src/Day01.kt
@@ -0,0 +1,17 @@
+fun main() {
+ fun part1(input: List<String>): Int {
+ return input.size
+ }
+
+ fun part2(input: List<String>): Int {
+ return input.size
+ }
+
+ // test if implementation meets criteria from the description, like:
+ val testInput = readInput("Day01_test")
+ check(part1(testInput) == 1)
+
+ val input = readInput("Day01")
+ println(part1(input))
+ println(part2(input))
+}