結果
問題 |
No.138 化石のバージョン
|
ユーザー |
![]() |
提出日時 | 2017-07-05 03:18:31 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 32 ms / 5,000 ms |
コード長 | 254 bytes |
コンパイル時間 | 245 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-12-29 14:25:29 |
合計ジャッジ時間 | 2,740 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 33 |
ソースコード
M = list(map(int, input().split("."))) N = list(map(int, input().split("."))) if M[0] > N[0]: print("YES") elif M[0] == N[0] and M[1] > N[1]: print("YES") elif M[0] == N[0] and M[1] == N[1] and M[2] >= N[2]: print("YES") else: print("NO")