結果
問題 | No.138 化石のバージョン |
ユーザー |
|
提出日時 | 2019-09-13 10:50:45 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 30 ms / 5,000 ms |
コード長 | 414 bytes |
コンパイル時間 | 77 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-07-04 03:45:17 |
合計ジャッジ時間 | 2,183 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 33 |
ソースコード
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') elif b_major == t_major and b_minor == t_minor and b_build == t_build: print('YES') else: print('NO')