Skip to content

Instantly share code, notes, and snippets.

@whatalnk
Created January 17, 2019 02:16
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/f93d205b6d662e81437b4a37850d0dde to your computer and use it in GitHub Desktop.
Save whatalnk/f93d205b6d662e81437b4a37850d0dde to your computer and use it in GitHub Desktop.
Keyence 2019 A
# https://atcoder.jp/contests/keyence2019/submissions/4028835
a = gets.chomp.split(" ").map(&:to_i)
if a.include?(1) && a.include?(9) && a.include?(7) && a.include?(4)
puts "YES"
else
puts "NO"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment