結果

問題 No.138 化石のバージョン
ユーザー rocoder
提出日時 2017-06-04 05:55:12
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 314 bytes
コンパイル時間 118 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-09-22 04:52:40
合計ジャッジ時間 2,178 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other AC * 4 WA * 29
権限があれば一括ダウンロードができます

ソースコード

diff #

a0=[int(i) for i in input().split(".")]
a1=[int(i) for i in input().split(".")]
if a0[0]<a1[0]:
    print ("YES")
elif a0[0]>a1[0]:
    print ("NO")
elif a0[1]<a1[1]:
    print ("YES")
elif a0[1]>a1[1]:
    print ("NO")
elif a0[2]<a1[2]:
    print ("YES")
elif a0[2]>a1[2]:
    print ("NO")
else:
    print ("YES")
0