結果

問題 No.138 化石のバージョン
ユーザー _KingdomOfMoray
提出日時 2019-12-05 22:15:41
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 239 bytes
コンパイル時間 277 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-12-23 01:32:53
合計ジャッジ時間 2,515 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 19 WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

list_0 = input().split('.')
list_1 = input().split('.')

flag = 1 # 後者が化石という前提

for i in range(3):
    if int(list_0[i]) < int(list_1[i]):
        flag = flag * 0
        
if flag:
    print('YES')
else:
    print('NO')
0