結果
問題 |
No.138 化石のバージョン
|
ユーザー |
|
提出日時 | 2017-11-15 10:41:38 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 233 bytes |
コンパイル時間 | 267 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-12-29 14:37:44 |
合計ジャッジ時間 | 2,643 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 33 |
ソースコード
from distutils.version import StrictVersion fossil_version = input() target_version = input() if fossil_version == target_version or StrictVersion(fossil_version) > StrictVersion(target_version): print('YES') else: print('NO')