結果

問題 No.1944 ∞
ユーザー milanis48663220milanis48663220
提出日時 2022-05-20 21:35:22
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 204 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 11,832 KB
実行使用メモリ 34,416 KB
最終ジャッジ日時 2023-10-20 11:55:14
合計ジャッジ時間 2,455 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
10,096 KB
testcase_01 AC 28 ms
10,096 KB
testcase_02 AC 28 ms
10,096 KB
testcase_03 AC 28 ms
10,096 KB
testcase_04 AC 28 ms
10,096 KB
testcase_05 AC 29 ms
10,096 KB
testcase_06 AC 28 ms
10,096 KB
testcase_07 AC 29 ms
10,096 KB
testcase_08 AC 28 ms
10,096 KB
testcase_09 AC 28 ms
10,096 KB
testcase_10 AC 29 ms
10,096 KB
testcase_11 AC 29 ms
10,096 KB
testcase_12 AC 29 ms
10,096 KB
testcase_13 AC 33 ms
10,096 KB
testcase_14 WA -
testcase_15 AC 92 ms
34,416 KB
testcase_16 AC 33 ms
11,548 KB
testcase_17 AC 31 ms
10,872 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 30 ms
11,128 KB
testcase_21 WA -
testcase_22 AC 29 ms
10,728 KB
testcase_23 AC 29 ms
10,360 KB
testcase_24 AC 30 ms
10,536 KB
testcase_25 AC 32 ms
11,272 KB
testcase_26 AC 31 ms
11,396 KB
testcase_27 AC 31 ms
11,240 KB
testcase_28 AC 31 ms
10,824 KB
testcase_29 AC 28 ms
10,300 KB
testcase_30 AC 32 ms
11,360 KB
testcase_31 AC 30 ms
10,880 KB
testcase_32 AC 31 ms
11,048 KB
testcase_33 AC 66 ms
14,036 KB
testcase_34 AC 67 ms
14,036 KB
testcase_35 AC 66 ms
14,036 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

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