結果
| 問題 | No.138 化石のバージョン |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-07-25 18:05:08 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 93 ms / 5,000 ms |
| + 312µs | |
| コード長 | 299 bytes |
| 記録 | |
| コンパイル時間 | 286 ms |
| コンパイル使用メモリ | 21,540 KB |
| 実行使用メモリ | 15,868 KB |
| 最終ジャッジ日時 | 2026-08-03 20:03:35 |
| 合計ジャッジ時間 | 5,256 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 33 |
ソースコード
#!/usr/bin/python3
#coding:utf-8
old=list(map(int,input().split(".")))
current=list(map(int,input().split(".")))
for i in range(3):
if old[i]<current[i]:
print("NO")
exit(0)
elif old[i]>current[i]:
print("YES")
exit(0)
else:
continue
print("YES")