結果

問題 No.138 化石のバージョン
コンテスト
ユーザー bellangeldindon
提出日時 2019-05-07 17:10:25
言語 PyPy2
(7.3.15)
結果
WA  
実行時間 -
コード長 215 bytes
記録
コンパイル時間 120 ms
コンパイル使用メモリ 77,480 KB
最終ジャッジ日時 2025-12-04 01:38:39
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 29 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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