結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
76,516 KB
testcase_01 AC 76 ms
76,212 KB
testcase_02 AC 76 ms
76,212 KB
testcase_03 AC 76 ms
76,292 KB
testcase_04 AC 76 ms
76,292 KB
testcase_05 AC 76 ms
76,508 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 76 ms
76,516 KB
testcase_17 AC 76 ms
76,580 KB
testcase_18 AC 76 ms
76,588 KB
testcase_19 AC 78 ms
76,528 KB
testcase_20 AC 78 ms
76,524 KB
testcase_21 AC 80 ms
76,356 KB
testcase_22 AC 77 ms
76,300 KB
testcase_23 AC 77 ms
76,528 KB
testcase_24 AC 78 ms
76,380 KB
testcase_25 AC 77 ms
76,240 KB
testcase_26 WA -
testcase_27 AC 76 ms
76,284 KB
testcase_28 AC 80 ms
76,416 KB
testcase_29 AC 81 ms
76,580 KB
testcase_30 AC 79 ms
76,444 KB
testcase_31 AC 79 ms
76,416 KB
testcase_32 AC 78 ms
76,240 KB
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*-

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