結果

問題 No.138 化石のバージョン
ユーザー gorugo30gorugo30
提出日時 2021-02-22 21:51:00
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 371 bytes
コンパイル時間 656 ms
コンパイル使用メモリ 81,828 KB
実行使用メモリ 53,592 KB
最終ジャッジ日時 2023-10-21 16:08:22
合計ジャッジ時間 2,768 ms
ジャッジサーバーID
(参考情報)
judge13 / judge9
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,576 KB
testcase_01 AC 38 ms
53,576 KB
testcase_02 WA -
testcase_03 AC 38 ms
53,576 KB
testcase_04 AC 38 ms
53,576 KB
testcase_05 AC 37 ms
53,576 KB
testcase_06 AC 38 ms
53,576 KB
testcase_07 AC 39 ms
53,576 KB
testcase_08 AC 38 ms
53,576 KB
testcase_09 AC 38 ms
53,576 KB
testcase_10 AC 38 ms
53,576 KB
testcase_11 AC 38 ms
53,576 KB
testcase_12 AC 38 ms
53,576 KB
testcase_13 AC 38 ms
53,576 KB
testcase_14 AC 38 ms
53,576 KB
testcase_15 AC 38 ms
53,576 KB
testcase_16 AC 38 ms
53,576 KB
testcase_17 AC 37 ms
53,576 KB
testcase_18 AC 38 ms
53,576 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 38 ms
53,576 KB
testcase_22 AC 37 ms
53,576 KB
testcase_23 WA -
testcase_24 AC 38 ms
53,576 KB
testcase_25 AC 38 ms
53,576 KB
testcase_26 AC 38 ms
53,576 KB
testcase_27 AC 38 ms
53,576 KB
testcase_28 AC 38 ms
53,576 KB
testcase_29 AC 37 ms
53,576 KB
testcase_30 AC 38 ms
53,576 KB
testcase_31 AC 37 ms
53,576 KB
testcase_32 AC 38 ms
53,576 KB
testcase_33 AC 39 ms
53,576 KB
testcase_34 AC 39 ms
53,576 KB
testcase_35 AC 38 ms
53,576 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

FOSSIL = input()
f = 0
for i in range(3):
    while len(FOSSIL) > 0 and FOSSIL[0] != ".":
        f *= 10
        f += int(FOSSIL[0])
        FOSSIL = FOSSIL[1:]
    f *= 1000
J = input()
g = 0
for i in range(3):
    while len(J) > 0 and J[0] != ".":
        g *= 10
        g += int(J[0])
        J = J[1:]
    g *= 1000
if g <= f:
    print("YES")
else:
    print("NO")
0