結果
問題 |
No.138 化石のバージョン
|
ユーザー |
![]() |
提出日時 | 2017-07-05 03:15:13 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 253 bytes |
コンパイル時間 | 161 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-05 16:45:45 |
合計ジャッジ時間 | 2,122 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 29 WA * 4 |
ソースコード
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")