Created
March 4, 2019 12:49
-
-
Save whatalnk/6bd88049570e34053218693dbcc25d78 to your computer and use it in GitHub Desktop.
AtCoder ABC #120 A. Favorite Sound
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
a, b, c = gets.chomp.split(" ").map(&:to_i) | |
puts [b / a, c].min |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment