結果
| 問題 | 
                            No.1944 ∞
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2022-10-01 18:03:56 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 82 ms / 2,000 ms | 
| コード長 | 227 bytes | 
| コンパイル時間 | 289 ms | 
| コンパイル使用メモリ | 11,904 KB | 
| 実行使用メモリ | 31,536 KB | 
| 最終ジャッジ日時 | 2025-06-20 00:41:42 | 
| 合計ジャッジ時間 | 2,539 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 37 | 
ソースコード
n,x,y=list(map(int,input().split()))
r=list(map(int,input().split()))
s=2*sum(r)-min(r)
if n==1:
    if s*s==x*x+y*y:
        print("Yes")
    else:
        print ("No")
elif s*s>=x*x+y*y:
    print("Yes")
else:
    print("No")