結果

問題 No.138 化石のバージョン
ユーザー bellangeldindon
提出日時 2019-05-07 17:10:25
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 215 bytes
コンパイル時間 48 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-01 23:34:29
合計ジャッジ時間 1,482 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 29 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

A = map(int, raw_input().split('.'))
B = map(int, raw_input().split('.'))
fossil = False
for i in range(0, 3):
	if A[i] < B[i]: break
	if A[i] > B[i]:
		fossil = True
		break

if fossil: print 'YES'
else: print 'NO'
0