Skip to content

Instantly share code, notes, and snippets.

@giruzou
Created July 9, 2018 05:56
Show Gist options
  • Save giruzou/001791a5eb3d14b963762b01025cdda9 to your computer and use it in GitHub Desktop.
Save giruzou/001791a5eb3d14b963762b01025cdda9 to your computer and use it in GitHub Desktop.
puts gets.split.map(&:to_i).inject(:+)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment