結果

問題 No.138 化石のバージョン
ユーザー ABKZ
提出日時 2021-06-30 22:43:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 5,000 ms
コード長 207 bytes
コンパイル時間 144 ms
コンパイル使用メモリ 82,292 KB
実行使用メモリ 51,968 KB
最終ジャッジ日時 2024-06-27 08:36:14
合計ジャッジ時間 2,572 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

A0, B0, C0 = map(int, input().split("."))
A1, B1, C1 = map(int, input().split("."))

if (A0 < A1 or
    A0 == A1 and B0 < B1 or
    A0 == A1 and B0 == B1 and C0 < C1):
    print("NO")
else:
    print("YES")
0