結果
| 問題 | 
                            No.1944 ∞
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2022-10-01 17:23:59 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 269 bytes | 
| コンパイル時間 | 174 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 30,772 KB | 
| 最終ジャッジ日時 | 2024-12-23 23:41:37 | 
| 合計ジャッジ時間 | 2,628 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 32 WA * 4 | 
ソースコード
n,x,y=list(map(int,input().split()))
r=list(map(int,input().split()))
sum=0
for i in r:
    sum+=i*2
sum-=r[0]
if (sum**2)>=(x**2)+(y**2):
    if sum-r[0]*2>=0 or (sum-r[0]*2)**2<=(x**2)+(y**2):
        print("Yes")
    else:
        print ("No")
else:
    print("No")