結果
問題 |
No.512 魔法少女の追いかけっこ
|
ユーザー |
|
提出日時 | 2021-05-03 19:00:59 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 360 bytes |
コンパイル時間 | 230 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-07-22 09:49:37 |
合計ジャッジ時間 | 3,469 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 WA * 31 RE * 12 |
ソースコード
import sys, math sys.setrecursionlimit(10 ** 6) stdin = sys.stdin ni = lambda: int(ns()) na = lambda: list(map(int, stdin.readline().split())) ns = lambda: stdin.readline().strip() x, y = na() x = x * 1000 / 3600 y = y * 1000 / 3600 n = ni() A = na() for i in range(1, n): if A[i] * y <= A[i + 1] * x: print('NO') exit() print('YES')