結果
問題 |
No.138 化石のバージョン
|
ユーザー |
![]() |
提出日時 | 2015-01-29 23:33:59 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 291 bytes |
コンパイル時間 | 249 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-23 04:10:02 |
合計ジャッジ時間 | 2,270 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 14 WA * 19 |
ソースコード
t0 = str(input()) t1 = str(input()) a = t0.split(".") b = t1.split(".") flag = False if b[0] <= a[0]: flag = True print("NO") if b[1] <= a[1] and flag == False: flag = True print("NO") if b[2] <= a[2] and flag == False: flag = True print("NO") if flag == False: print("YES")