結果

問題 No.138 化石のバージョン
ユーザー netyo715netyo715
提出日時 2021-06-21 10:30:31
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 313 bytes
コンパイル時間 76 ms
コンパイル使用メモリ 10,740 KB
実行使用メモリ 8,308 KB
最終ジャッジ日時 2023-09-05 01:48:48
合計ジャッジ時間 2,023 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
8,116 KB
testcase_01 AC 15 ms
8,124 KB
testcase_02 AC 15 ms
8,280 KB
testcase_03 AC 15 ms
8,172 KB
testcase_04 AC 15 ms
8,200 KB
testcase_05 AC 15 ms
8,128 KB
testcase_06 AC 15 ms
8,260 KB
testcase_07 AC 15 ms
8,096 KB
testcase_08 AC 15 ms
8,208 KB
testcase_09 AC 15 ms
8,096 KB
testcase_10 AC 15 ms
8,308 KB
testcase_11 AC 15 ms
8,240 KB
testcase_12 AC 15 ms
8,236 KB
testcase_13 AC 15 ms
8,204 KB
testcase_14 AC 15 ms
8,168 KB
testcase_15 AC 15 ms
8,300 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 15 ms
8,096 KB
testcase_20 AC 15 ms
7,864 KB
testcase_21 WA -
testcase_22 AC 16 ms
8,188 KB
testcase_23 AC 14 ms
8,100 KB
testcase_24 AC 15 ms
8,276 KB
testcase_25 AC 15 ms
8,120 KB
testcase_26 AC 15 ms
8,124 KB
testcase_27 AC 16 ms
8,136 KB
testcase_28 AC 15 ms
8,308 KB
testcase_29 AC 16 ms
8,268 KB
testcase_30 AC 15 ms
8,268 KB
testcase_31 AC 16 ms
8,116 KB
testcase_32 AC 16 ms
8,308 KB
testcase_33 AC 15 ms
8,204 KB
testcase_34 AC 16 ms
8,128 KB
testcase_35 AC 15 ms
8,236 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = list(map(int, input().split(".")))
T = list(map(int, input().split(".")))

if S[0] > T[0]:
    print("YES")
    exit()

if S[0] < T[0]:
    print("NO")
    exit()

if S[1] > T[1]:
    print("YES")
    exit()

if S[1] < T[1]:
    print("NO")
    exit()

if S[2] > T[2]:
    print("YES")
    exit()

print("NO")
0