結果
問題 |
No.512 魔法少女の追いかけっこ
|
ユーザー |
|
提出日時 | 2019-07-09 17:59:40 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 250 bytes |
コンパイル時間 | 134 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-12 09:47:49 |
合計ジャッジ時間 | 3,096 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 52 WA * 1 |
ソースコード
x, y = map(int, input().split()) n = int(input()) a = list(map(int, input().split())) x = x*10 / 36 y = y*10 / 36 for i in range(n-1): t = a[i] / x yl = int(t * y) if yl > a[i+1]: print('NO') break else: print('YES')