結果
問題 | No.138 化石のバージョン |
ユーザー |
|
提出日時 | 2022-02-17 14:11:47 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 41 ms / 5,000 ms |
コード長 | 301 bytes |
コンパイル時間 | 177 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 52,224 KB |
最終ジャッジ日時 | 2024-06-29 07:39:28 |
合計ジャッジ時間 | 2,702 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 33 |
ソースコード
a1,b1,c1 = map(int,input().split("."))a2,b2,c2 = map(int,input().split("."))if a2>a1:print("NO")elif a2<a1:print("YES")else:if b2>b1:print("NO")elif b2<b1:print("YES")else:if c2>c1:print("NO")else:print("YES")