結果
| 問題 | 
                            No.138 化石のバージョン
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2019-09-13 10:49:02 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 326 bytes | 
| コンパイル時間 | 113 ms | 
| コンパイル使用メモリ | 12,416 KB | 
| 実行使用メモリ | 10,624 KB | 
| 最終ジャッジ日時 | 2024-07-04 03:45:13 | 
| 合計ジャッジ時間 | 2,094 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 29 WA * 4 | 
ソースコード
b_major, b_minor, b_build = map(int, input().split('.'))
t_major, t_minor, t_build = map(int, input().split('.'))
if b_major > t_major:
    print('YES')
elif b_major == t_major and b_minor > t_minor:
    print('YES')
elif b_major == t_major and b_minor == t_minor and b_build > t_build:
    print('YES')
else:
    print('NO')