結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
76,328 KB
testcase_01 AC 73 ms
76,084 KB
testcase_02 AC 74 ms
76,292 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 74 ms
76,272 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 76 ms
76,100 KB
testcase_20 AC 75 ms
76,360 KB
testcase_21 WA -
testcase_22 AC 74 ms
76,148 KB
testcase_23 AC 75 ms
76,344 KB
testcase_24 AC 74 ms
76,344 KB
testcase_25 AC 76 ms
76,148 KB
testcase_26 WA -
testcase_27 AC 76 ms
76,536 KB
testcase_28 AC 76 ms
76,112 KB
testcase_29 WA -
testcase_30 AC 77 ms
76,152 KB
testcase_31 AC 75 ms
76,516 KB
testcase_32 AC 75 ms
76,444 KB
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
権限があれば一括ダウンロードができます

ソースコード

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(3):
    if A[i] >= X[i]:
        print "NO"
        break
else:
    print "YES"
0