結果

問題 No.1944 ∞
ユーザー pitP
提出日時 2022-05-20 23:57:49
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 251 bytes
コンパイル時間 159 ms
コンパイル使用メモリ 82,528 KB
実行使用メモリ 103,152 KB
最終ジャッジ日時 2024-09-20 10:23:18
合計ジャッジ時間 2,858 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 28 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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

if 2 * sum(r) - min(r) >= (x**2 + y**2)**(0.5):
    print("Yes")
else:
    print("No")
0