Skip to content

Instantly share code, notes, and snippets.

@giruzou
Created December 15, 2018 12:38
Show Gist options
  • Save giruzou/4cf7806167d58da1f476fed7e34841c7 to your computer and use it in GitHub Desktop.
Save giruzou/4cf7806167d58da1f476fed7e34841c7 to your computer and use it in GitHub Desktop.
puts readlines.map(&:to_i).sum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment