結果

問題 No.138 化石のバージョン
ユーザー yuki2006
提出日時 2015-01-28 21:22:38
言語 PyPy2
(7.3.15)
結果
WA  
実行時間 -
コード長 254 bytes
コンパイル時間 1,013 ms
コンパイル使用メモリ 76,964 KB
実行使用メモリ 76,096 KB
最終ジャッジ日時 2024-06-23 03:40:07
合計ジャッジ時間 4,616 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 14 WA * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

A = map(int, raw_input().split("."))
X = map(int, raw_input().split("."))

assert all(0 <= x <= 100 for x in A)
assert all(0 <= x <= 100 for x in X)

# WA解

for i in xrange(3):
    if A[i] >= X[i]:
        print "NO"
        break
else:
    print "YES"
0