結果

問題 No.512 魔法少女の追いかけっこ
コンテスト
ユーザー rocoder
提出日時 2017-05-05 23:07:24
言語 Python3
(3.14.3 + numpy 2.4.4 + scipy 1.17.1)
コンパイル:
python3 -mpy_compile _filename_
実行:
python3 _filename_
結果
WA  
実行時間 -
コード長 328 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 475 ms
コンパイル使用メモリ 20,828 KB
実行使用メモリ 15,488 KB
最終ジャッジ日時 2026-03-14 14:54:45
合計ジャッジ時間 6,714 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge1_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 31 WA * 22
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

# your code goes here
X=[float(i) for i in input().split()]
N=int(input())
A=[int(i) for i in input().split()]
for i in range(2):
  #  X[i]=X[i]*18/5
     X[i]=X[i]*18
i= 1
e=0
while e==0 and i<N:
#    T=A[i]/X[1]
    T=A[i]*5/X[1]
    K=X[0]*T
    if K<A[i-1]:
        e=1
        print("NO")
    i+=1
if e==0:
    print("YES")
0