結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
76,424 KB
testcase_01 AC 81 ms
76,424 KB
testcase_02 AC 80 ms
76,272 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 80 ms
76,276 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 AC 82 ms
76,284 KB
testcase_17 AC 80 ms
76,296 KB
testcase_18 AC 77 ms
76,436 KB
testcase_19 AC 79 ms
76,348 KB
testcase_20 WA -
testcase_21 AC 79 ms
76,520 KB
testcase_22 WA -
testcase_23 AC 78 ms
76,364 KB
testcase_24 AC 79 ms
76,156 KB
testcase_25 AC 79 ms
76,404 KB
testcase_26 WA -
testcase_27 AC 79 ms
76,572 KB
testcase_28 AC 77 ms
76,372 KB
testcase_29 WA -
testcase_30 AC 79 ms
76,504 KB
testcase_31 AC 80 ms
76,348 KB
testcase_32 AC 79 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