Skip to content

Instantly share code, notes, and snippets.

@nommy
Created May 23, 2012 03:49
Show Gist options
  • Save nommy/2773165 to your computer and use it in GitHub Desktop.
Save nommy/2773165 to your computer and use it in GitHub Desktop.
AOJ Problem Volume0 0001 - List of Top 3 Hills
sample_input = [1819, 2003, 876, 2840, 1723, 1673, 3776, 2848, 1592, 922]
puts sample_input.sort.reverse[0..2]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment