結果
問題 |
No.512 魔法少女の追いかけっこ
|
ユーザー |
![]() |
提出日時 | 2019-12-24 14:04:15 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 299 bytes |
コンパイル時間 | 83 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-09-21 22:16:03 |
合計ジャッジ時間 | 2,859 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 48 WA * 5 |
ソースコード
input_list = list(map(int,input().split())) x, y = input_list n = int(input()) a_list = list(map(int,input().split())) res = 0 for i in range(n-1): x_time = a_list[i] / x if a_list[i+1] < x_time * y: res = 1 break if res == 0: print('YES') else: print('NO')