結果

問題 No.1944 ∞
コンテスト
ユーザー neko0774
提出日時 2022-05-20 21:49:55
言語 Python3
(3.14.3 + numpy 2.4.4 + scipy 1.17.1)
コンパイル:
python3 -mpy_compile _filename_
実行:
python3 _filename_
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 340 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 289 ms
コンパイル使用メモリ 21,412 KB
実行使用メモリ 33,888 KB
最終ジャッジ日時 2026-07-12 07:42:20
合計ジャッジ時間 5,642 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 36 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

inf=10**18
dxy=[(0,1), (1,0), (-1, 0), (0, -1)]
mod=10**9+7
MOD=998244353
def main():
    N, X, Y = map(int, input().split())
    R =  [int(i) for i in input().split()]
    dis = (X**2+Y**2)**(1/2)
    if N==1:
        print("Yes" if R[0]==dis else "No")
        return
    if sum(R)*2-min(R)>=dis: print("Yes")
    else: print("No")
main()
0