Skip to content

Instantly share code, notes, and snippets.

@hamuhei1412
Last active March 21, 2018 14:40
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 hamuhei1412/400e9883c89c0ddead2c37993771a304 to your computer and use it in GitHub Desktop.
Save hamuhei1412/400e9883c89c0ddead2c37993771a304 to your computer and use it in GitHub Desktop.
ABC086A
a,b=gets.split.map(&:to_i) #空白区切りの整数を取得
puts((a*b)%2==0 ? "Even" : "Odd") #かけた値の偶奇を判定
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment