結果

問題 No.138 化石のバージョン
ユーザー takakin
提出日時 2020-03-29 18:55:20
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 30 ms / 5,000 ms
コード長 206 bytes
コンパイル時間 313 ms
コンパイル使用メモリ 12,032 KB
実行使用メモリ 10,368 KB
最終ジャッジ日時 2025-01-02 15:41:20
合計ジャッジ時間 2,450 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=lambda: sys.stdin.readline().rstrip()
a,b,c=map(int,input().split("."))
x,y,z=map(int,input().split("."))
A=a*10**6+b*10**3+c
B=x*10**6+y*10**3+z
if A>=B:
  print("YES")
else:
  print("NO")
0