Created
July 10, 2018 01:56
-
-
Save giruzou/4a4f9d907394957e2b1c0b6c895354b2 to your computer and use it in GitHub Desktop.
ruby最大値の下一桁 ref: https://qiita.com/DrqYuto/items/db9394aecd462d310721
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
puts gets.split.map(&:to_i).sum.to_s.slice(-1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment