結果
| 問題 | 
                            No.138 化石のバージョン
                             | 
                    
| コンテスト | |
| ユーザー | 
                             yurara
                         | 
                    
| 提出日時 | 2019-05-18 17:34:29 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 34 ms / 5,000 ms | 
| コード長 | 253 bytes | 
| コンパイル時間 | 124 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 10,624 KB | 
| 最終ジャッジ日時 | 2024-09-17 06:14:04 | 
| 合計ジャッジ時間 | 2,673 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge6 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 33 | 
ソースコード
A0, B0, C0 = map(int, input().split('.'))
A1, B1, C1 = map(int, input().split('.'))
if A0 == A1:
    if B0 == B1:
        print('YES' if C0 >= C1 else 'NO')
    else:
        print('YES' if B0 > B1 else 'NO')
else:
    print('YES' if A0 > A1 else 'NO')
            
            
            
        
            
yurara