Skip to content

Instantly share code, notes, and snippets.

@whatalnk
Created March 4, 2019 12:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whatalnk/6bd88049570e34053218693dbcc25d78 to your computer and use it in GitHub Desktop.
Save whatalnk/6bd88049570e34053218693dbcc25d78 to your computer and use it in GitHub Desktop.
AtCoder ABC #120 A. Favorite Sound
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