Solved part 1

master
s00ner 9 months ago
parent 47f4fe1364
commit d62dda2921
  1. 5
      day01/solution.rb

@ -0,0 +1,5 @@
#!/bin/env ruby
# Sum all numbers in the text file.
# Part 1
sum = File.readlines('./input').map { |line| line.to_i)}.sum
Loading…
Cancel
Save