Created
January 17, 2019 02:16
-
-
Save whatalnk/f93d205b6d662e81437b4a37850d0dde to your computer and use it in GitHub Desktop.
Keyence 2019 A
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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