Skip to content

Commit

Permalink
move day 01 to package
Browse files Browse the repository at this point in the history
  • Loading branch information
wdhg committed Jan 2, 2021
1 parent 2317939 commit 049bb4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package day01

import scala.io.Source.fromFile

object Day01 extends App {
val content = fromFile("inputs/day01").toList
object Main extends App {
val content = fromFile("src/main/scala/day01/input").toList

def nextFloor(floor: Int, c: Char): Int = floor + (if (c == '(') 1 else -1)

Expand Down
File renamed without changes.

0 comments on commit 049bb4b

Please sign in to comment.