結果

問題 No.1944 ∞
ユーザー hashi_py
提出日時 2022-05-20 21:56:02
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 257 bytes
コンパイル時間 169 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 102,088 KB
最終ジャッジ日時 2024-09-20 08:01:15
合計ジャッジ時間 2,861 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 28 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

n,x,y = map(int,input().split())
a = list(map(int,input().split()))

a.sort()

if(n==1):
    if((x**2+y**2)!=a[0]**2):
        print("Yes")
    else:
        print("No")
    exit()

if((x**2+y**2)<=(2*sum(a)-a[0])**2):
    print("Yes")
else:
    print("No")
0