結果
問題 |
No.512 魔法少女の追いかけっこ
|
ユーザー |
|
提出日時 | 2019-07-09 17:59:11 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 278 bytes |
コンパイル時間 | 127 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-12 09:46:57 |
合計ジャッジ時間 | 3,234 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 53 |
ソースコード
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) print(a[i], a[i+1], yl) if yl > a[i+1]: print('NO') break else: print('YES')