結果

問題 No.512 魔法少女の追いかけっこ
ユーザー pekempeypekempey
提出日時 2017-05-05 22:22:53
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 203 bytes
コンパイル時間 271 ms
コンパイル使用メモリ 87,136 KB
実行使用メモリ 71,532 KB
最終ジャッジ日時 2023-09-09 12:40:28
合計ジャッジ時間 6,041 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,368 KB
testcase_01 AC 72 ms
71,484 KB
testcase_02 AC 73 ms
71,336 KB
testcase_03 AC 77 ms
71,336 KB
testcase_04 AC 76 ms
71,396 KB
testcase_05 AC 73 ms
71,356 KB
testcase_06 AC 73 ms
71,336 KB
testcase_07 AC 74 ms
71,468 KB
testcase_08 AC 74 ms
71,300 KB
testcase_09 AC 73 ms
71,340 KB
testcase_10 AC 72 ms
71,088 KB
testcase_11 AC 75 ms
71,236 KB
testcase_12 AC 72 ms
71,384 KB
testcase_13 AC 72 ms
71,112 KB
testcase_14 WA -
testcase_15 AC 72 ms
71,300 KB
testcase_16 AC 73 ms
71,532 KB
testcase_17 AC 74 ms
71,396 KB
testcase_18 AC 72 ms
71,468 KB
testcase_19 AC 73 ms
71,332 KB
testcase_20 AC 74 ms
71,232 KB
testcase_21 AC 73 ms
71,388 KB
testcase_22 AC 73 ms
71,240 KB
testcase_23 AC 74 ms
71,336 KB
testcase_24 AC 75 ms
70,976 KB
testcase_25 AC 72 ms
70,976 KB
testcase_26 AC 72 ms
71,116 KB
testcase_27 AC 74 ms
71,088 KB
testcase_28 AC 72 ms
70,976 KB
testcase_29 AC 71 ms
71,092 KB
testcase_30 AC 70 ms
71,392 KB
testcase_31 AC 71 ms
70,980 KB
testcase_32 AC 71 ms
71,388 KB
testcase_33 AC 71 ms
71,216 KB
testcase_34 AC 70 ms
71,420 KB
testcase_35 AC 73 ms
70,980 KB
testcase_36 AC 71 ms
71,448 KB
testcase_37 AC 73 ms
71,304 KB
testcase_38 AC 76 ms
71,296 KB
testcase_39 AC 72 ms
71,240 KB
testcase_40 AC 73 ms
71,348 KB
testcase_41 AC 71 ms
71,340 KB
testcase_42 AC 71 ms
71,332 KB
testcase_43 AC 74 ms
71,348 KB
testcase_44 AC 72 ms
71,420 KB
testcase_45 AC 72 ms
71,332 KB
testcase_46 WA -
testcase_47 AC 74 ms
71,384 KB
testcase_48 AC 71 ms
71,428 KB
testcase_49 AC 72 ms
71,084 KB
testcase_50 AC 76 ms
71,240 KB
testcase_51 AC 71 ms
71,212 KB
testcase_52 AC 71 ms
71,464 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

x, y = map(int, input().split())
n = int(input())
a = list(map(int, input().split()))

if n == 1:
    print('YES')
else:
    if a[-1] * x >= a[-2] * y:
        print('YES')
    else:
        print('NO')
0