結果

問題 No.138 化石のバージョン
ユーザー WatsonWatson
提出日時 2017-07-12 16:06:06
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 234 bytes
コンパイル時間 126 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-10-07 16:43:25
合計ジャッジ時間 2,101 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 23 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

A = input().split(".")
B = input().split(".")
if A[0] > B[0]:
    print("YES")
elif A[0] == B[0]:
    if A[1] > B[1]:
        print("YES")
    elif A[1] == B[1]:
        if A[2] >= B[2]:
            print("YES")
else:
    print("NO")
0