Skip to content

Instantly share code, notes, and snippets.

@nommy
Created May 25, 2012 12:28
Show Gist options
  • Save nommy/2787765 to your computer and use it in GitHub Desktop.
Save nommy/2787765 to your computer and use it in GitHub Desktop.
AOJ Problem Volume100-10003 - Small, Large, or Equal
x = gets.chomp
s = x.split(nil)
a = x.split[0].to_i
b = x.split[1].to_i
if a < b
puts "a < b"
elsif a > b
puts "a > b"
else a == a
puts "a == b"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment