結果
| 問題 | 
                            No.1944 ∞
                             | 
                    
| コンテスト | |
| ユーザー | 
                             siganai
                         | 
                    
| 提出日時 | 2022-05-20 21:57:54 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 525 bytes | 
| コンパイル時間 | 155 ms | 
| コンパイル使用メモリ | 82,564 KB | 
| 実行使用メモリ | 101,496 KB | 
| 最終ジャッジ日時 | 2024-09-20 08:02:58 | 
| 合計ジャッジ時間 | 3,576 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 28 RE * 8 | 
ソースコード
#!/usr/bin/env PyPy3
from collections import Counter, defaultdict, deque
import itertools
import re
import math
from functools import reduce
import operator
import bisect
from heapq import *
import functools
mod=998244353
import sys
input=sys.stdin.readline
n,x,y=map(int,input().split())
r=list(map(int,input().split()))
if n == 1:
    if r ** 2 == x ** 2 + y ** 2:
        print('Yes')
    else:
        print('No')
    exit()
su = 2 * sum(r) - min(r)
if su ** 2 < x ** 2 + y ** 2:
    print('No')
else:
    print('Yes')
            
            
            
        
            
siganai