Skip to content

Commit e1f6555

Browse files
committed
Read day 25 input
1 parent a5642ce commit e1f6555

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

day25/src/day25.swift

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import Foundation
2+
3+
let args = CommandLine.arguments
4+
if args.count == 1 {
5+
print("Usage: \(args[0]) <path to input>")
6+
exit(1)
7+
}
8+
9+
let rawInput = try String(contentsOfFile: args[1], encoding: .utf8)
10+
print("Input: \(rawInput)")

0 commit comments

Comments
 (0)