結果
| 問題 |
No.138 化石のバージョン
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-05-07 09:24:07 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 329 bytes |
| コンパイル時間 | 285 ms |
| コンパイル使用メモリ | 82,148 KB |
| 実行使用メモリ | 53,432 KB |
| 最終ジャッジ日時 | 2024-09-14 22:25:18 |
| 合計ジャッジ時間 | 2,804 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 29 WA * 4 |
ソースコード
A0,B0,C0 = map(int,input().split("."))
A1,B1,C1 = map(int,input().split("."))
if A1 < A0:
print("YES")
elif A1 == A0:
if B1 < B0:
print("YES")
elif B1 == B0:
if C1 < C0:
print("YES")
else:
print("NO")
else:
print("NO")
else:
print("NO")