結果

問題 No.512 魔法少女の追いかけっこ
ユーザー ohanaohana
提出日時 2023-10-27 10:29:15
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 319 bytes
コンパイル時間 305 ms
コンパイル使用メモリ 81,824 KB
実行使用メモリ 79,388 KB
最終ジャッジ日時 2023-10-27 10:29:24
合計ジャッジ時間 8,885 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 113 ms
79,356 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 116 ms
79,352 KB
testcase_04 AC 120 ms
79,348 KB
testcase_05 AC 116 ms
79,356 KB
testcase_06 AC 115 ms
79,352 KB
testcase_07 AC 112 ms
79,356 KB
testcase_08 AC 119 ms
79,352 KB
testcase_09 WA -
testcase_10 AC 118 ms
79,344 KB
testcase_11 AC 116 ms
79,352 KB
testcase_12 AC 114 ms
79,348 KB
testcase_13 AC 114 ms
79,348 KB
testcase_14 AC 117 ms
79,348 KB
testcase_15 AC 113 ms
79,356 KB
testcase_16 AC 125 ms
79,348 KB
testcase_17 AC 113 ms
79,352 KB
testcase_18 AC 115 ms
79,352 KB
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 110 ms
79,348 KB
testcase_22 AC 110 ms
79,352 KB
testcase_23 AC 111 ms
79,356 KB
testcase_24 AC 116 ms
79,352 KB
testcase_25 WA -
testcase_26 AC 121 ms
79,352 KB
testcase_27 AC 110 ms
79,352 KB
testcase_28 AC 113 ms
79,352 KB
testcase_29 AC 110 ms
79,348 KB
testcase_30 AC 110 ms
79,348 KB
testcase_31 AC 115 ms
79,356 KB
testcase_32 AC 117 ms
79,348 KB
testcase_33 AC 113 ms
79,348 KB
testcase_34 AC 115 ms
79,348 KB
testcase_35 AC 114 ms
79,352 KB
testcase_36 AC 126 ms
79,352 KB
testcase_37 AC 109 ms
79,356 KB
testcase_38 AC 115 ms
79,352 KB
testcase_39 AC 111 ms
79,352 KB
testcase_40 AC 118 ms
79,348 KB
testcase_41 AC 111 ms
79,348 KB
testcase_42 AC 112 ms
79,348 KB
testcase_43 AC 110 ms
79,348 KB
testcase_44 AC 113 ms
79,348 KB
testcase_45 AC 112 ms
79,348 KB
testcase_46 AC 125 ms
79,348 KB
testcase_47 WA -
testcase_48 AC 112 ms
79,348 KB
testcase_49 AC 110 ms
79,348 KB
testcase_50 AC 112 ms
79,356 KB
testcase_51 AC 112 ms
79,352 KB
testcase_52 AC 122 ms
79,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import decimal

n, m = map(decimal.Decimal, input().split())
ns, ms = n / decimal.Decimal(3.6), m / decimal.Decimal(3.6)

n = int(input())
A = list(map(decimal.Decimal, input().split()))
ans = True
for i in range(n - 1):
    if A[i + 1] < A[i] / ns * ms:
        ans = False
        break
print("YES" if ans else "NO")
0