結果

問題 No.1944 ∞
ユーザー akasia_midori
提出日時 2022-05-20 22:20:28
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 80 ms / 2,000 ms
コード長 349 bytes
コンパイル時間 213 ms
コンパイル使用メモリ 82,132 KB
実行使用メモリ 104,300 KB
最終ジャッジ日時 2025-06-20 00:27:58
合計ジャッジ時間 2,818 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 37
権限があれば一括ダウンロードができます

ソースコード

diff #

def oi(): return int(input())
def os(): return input()
def mi(): return list(map(int, input().split()))

input_count = 0
N, X, Y = mi()
R = mi()

sr = sum(R)*2 - min(R)

if N!=1:
    if X**2 + Y**2 <= sr**2:
        print("Yes")
    else:
        print("No")
else:
    if X**2 + Y**2 == sr**2:
        print("Yes")
    else:
        print("No")
    
0