結果

問題 No.1944 ∞
ユーザー milanis48663220milanis48663220
提出日時 2022-05-20 21:37:36
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 95 ms / 2,000 ms
コード長 212 bytes
コンパイル時間 97 ms
コンパイル使用メモリ 11,864 KB
実行使用メモリ 34,444 KB
最終ジャッジ日時 2023-10-20 11:59:51
合計ジャッジ時間 2,454 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
10,124 KB
testcase_01 AC 28 ms
10,124 KB
testcase_02 AC 28 ms
10,124 KB
testcase_03 AC 30 ms
10,124 KB
testcase_04 AC 29 ms
10,124 KB
testcase_05 AC 29 ms
10,124 KB
testcase_06 AC 28 ms
10,124 KB
testcase_07 AC 28 ms
10,124 KB
testcase_08 AC 28 ms
10,124 KB
testcase_09 AC 28 ms
10,124 KB
testcase_10 AC 28 ms
10,124 KB
testcase_11 AC 29 ms
10,124 KB
testcase_12 AC 28 ms
10,124 KB
testcase_13 AC 30 ms
10,124 KB
testcase_14 AC 29 ms
10,124 KB
testcase_15 AC 95 ms
34,444 KB
testcase_16 AC 33 ms
11,572 KB
testcase_17 AC 30 ms
10,900 KB
testcase_18 AC 32 ms
11,068 KB
testcase_19 AC 30 ms
10,476 KB
testcase_20 AC 34 ms
11,156 KB
testcase_21 AC 33 ms
11,156 KB
testcase_22 AC 31 ms
10,756 KB
testcase_23 AC 30 ms
10,388 KB
testcase_24 AC 31 ms
10,564 KB
testcase_25 AC 33 ms
11,300 KB
testcase_26 AC 34 ms
11,424 KB
testcase_27 AC 33 ms
11,268 KB
testcase_28 AC 32 ms
10,852 KB
testcase_29 AC 28 ms
10,336 KB
testcase_30 AC 34 ms
11,388 KB
testcase_31 AC 31 ms
10,908 KB
testcase_32 AC 33 ms
11,076 KB
testcase_33 AC 69 ms
14,064 KB
testcase_34 AC 69 ms
14,064 KB
testcase_35 AC 69 ms
14,064 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, x, y = map(int, input().split())
r = list(map(int, input().split()))
r.sort()
r_sum = r[0]+sum(r[1:])*2
l = max(0, r[0]-sum(r[1:])*2)


if l*l <= x*x+y*y <= r_sum*r_sum:
    print("Yes")
else:
    print("No")
0