Skip to content

Instantly share code, notes, and snippets.

@vovanmix
Created March 2, 2016 16:47
Show Gist options
  • Save vovanmix/ab222873d978be6c17e5 to your computer and use it in GitHub Desktop.
Save vovanmix/ab222873d978be6c17e5 to your computer and use it in GitHub Desktop.
stdin_ruby.rb
ar1 = gets.strip.split.map {|i| i.to_i}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment