We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2abfaed commit cbd5892Copy full SHA for cbd5892
day21/resources/demo.txt
@@ -0,0 +1,5 @@
1
+029A
2
+980A
3
+179A
4
+456A
5
+379A
day21/src/day21.scala
100755
100644
@@ -1,4 +1,5 @@
-#!/usr/bin/env scala
+import scala.io.Source
-@main def main =
- println("Hello world")
+@main def main(path: String) =
+ val input = Source.fromFile(path).getLines.toList
+ println(s"$input")
0 commit comments