結果

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

ソースコード

diff #

list0 = input().split(".")
list1 = input().split(".")

ver0 = int(list0[0] + list0[1] + list0[2])
ver1 = int(list1[0] + list1[1] + list1[2])

if int(list0[0]) >= int(list1[0]) and \
   int(list0[1]) >= int(list1[1]) and \
   int(list0[2]) >= int(list1[2]):
    print("YES")
else:
    print("NO")
0