結果
| 問題 |
No.1944 ∞
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-05-20 21:49:55 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 340 bytes |
| コンパイル時間 | 117 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 30,280 KB |
| 最終ジャッジ日時 | 2025-06-20 00:27:24 |
| 合計ジャッジ時間 | 2,333 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 36 WA * 1 |
ソースコード
inf=10**18
dxy=[(0,1), (1,0), (-1, 0), (0, -1)]
mod=10**9+7
MOD=998244353
def main():
N, X, Y = map(int, input().split())
R = [int(i) for i in input().split()]
dis = (X**2+Y**2)**(1/2)
if N==1:
print("Yes" if R[0]==dis else "No")
return
if sum(R)*2-min(R)>=dis: print("Yes")
else: print("No")
main()