結果

問題 No.1944 ∞
ユーザー roaris
提出日時 2022-05-20 23:30:18
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 238 bytes
コンパイル時間 277 ms
コンパイル使用メモリ 81,920 KB
実行使用メモリ 103,936 KB
最終ジャッジ日時 2024-09-20 09:57:46
合計ジャッジ時間 3,099 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 27 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline
from collections import *

N, X, Y = map(int, input().split())
R = list(map(int, input().split()))
R.sort()
S = 2*sum(R)

if R[-1]-2*sum(R[:-1])<=X**2+Y**2<=S*S:
    print('Yes')
else:
    print('No')
0