結果
問題 | No.138 化石のバージョン |
ユーザー |
![]() |
提出日時 | 2022-05-17 02:04:17 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 5,000 ms |
コード長 | 233 bytes |
コンパイル時間 | 226 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-09-14 19:47:10 |
合計ジャッジ時間 | 2,291 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 33 |
ソースコード
s = input().split('.')t = input().split('.')s = list(map(int,s))t = list(map(int,t))# print(s)# print(t)s = s[0] * 10201 + s[1]*101 + s[2]t = t[0] * 10201 + t[1]*101 + t[2]if t <= s:print('YES')else:print('NO')