Created
September 16, 2015 09:32
-
-
Save zigen/ac9227eefdaa27cf4f35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i=0 | |
result = [] | |
while nil != buf = gets | |
arr = [] | |
arr = buf.split(" ").collect do |s| s.to_i end | |
result.push arr | |
end | |
print result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment