結果

問題 No.138 化石のバージョン
ユーザー yuki2006yuki2006
提出日時 2015-01-28 21:23:38
言語 PyPy2
(7.3.15)
結果
WA  
実行時間 -
コード長 260 bytes
コンパイル時間 117 ms
コンパイル使用メモリ 77,768 KB
実行使用メモリ 76,584 KB
最終ジャッジ日時 2023-09-05 07:28:36
合計ジャッジ時間 4,237 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
76,144 KB
testcase_01 AC 75 ms
76,300 KB
testcase_02 AC 73 ms
76,380 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 76 ms
76,376 KB
testcase_06 AC 74 ms
76,388 KB
testcase_07 WA -
testcase_08 AC 75 ms
76,504 KB
testcase_09 AC 75 ms
76,320 KB
testcase_10 WA -
testcase_11 AC 73 ms
76,436 KB
testcase_12 WA -
testcase_13 AC 74 ms
76,064 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 74 ms
76,112 KB
testcase_17 AC 75 ms
76,116 KB
testcase_18 AC 75 ms
76,488 KB
testcase_19 AC 75 ms
76,300 KB
testcase_20 WA -
testcase_21 AC 75 ms
76,272 KB
testcase_22 WA -
testcase_23 AC 75 ms
76,484 KB
testcase_24 AC 74 ms
76,064 KB
testcase_25 AC 75 ms
76,404 KB
testcase_26 WA -
testcase_27 AC 74 ms
76,436 KB
testcase_28 AC 73 ms
76,108 KB
testcase_29 WA -
testcase_30 AC 73 ms
76,376 KB
testcase_31 AC 73 ms
76,388 KB
testcase_32 AC 73 ms
76,436 KB
testcase_33 WA -
testcase_34 WA -
testcase_35 AC 72 ms
76,164 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A = map(int, raw_input().split("."))
X = map(int, raw_input().split("."))

assert all(0 <= x <= 100 for x in A)
assert all(0 <= x <= 100 for x in X)

# WA解

for i in xrange(2, 0, -1):
    if A[i] > X[i]:
        print "NO"
        break
else:
    print "YES"
0