結果
| 問題 | 
                            No.1944 ∞
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2022-10-01 17:27:29 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 268 bytes | 
| コンパイル時間 | 258 ms | 
| コンパイル使用メモリ | 12,416 KB | 
| 実行使用メモリ | 30,648 KB | 
| 最終ジャッジ日時 | 2024-12-23 23:44:41 | 
| 合計ジャッジ時間 | 2,596 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 27 WA * 9 | 
ソースコード
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")