結果

問題 No.1944 ∞
ユーザー 炭酸水炭酸水
提出日時 2022-05-20 21:48:49
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 207 bytes
コンパイル時間 155 ms
コンパイル使用メモリ 11,816 KB
実行使用メモリ 34,384 KB
最終ジャッジ日時 2023-10-20 12:18:47
合計ジャッジ時間 2,663 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
10,156 KB
testcase_01 AC 28 ms
10,156 KB
testcase_02 AC 28 ms
10,156 KB
testcase_03 WA -
testcase_04 AC 29 ms
10,156 KB
testcase_05 WA -
testcase_06 AC 28 ms
10,156 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 28 ms
10,156 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 28 ms
10,068 KB
testcase_13 AC 29 ms
10,096 KB
testcase_14 AC 28 ms
10,096 KB
testcase_15 AC 140 ms
34,384 KB
testcase_16 AC 36 ms
11,548 KB
testcase_17 AC 32 ms
10,912 KB
testcase_18 AC 35 ms
11,068 KB
testcase_19 AC 30 ms
10,504 KB
testcase_20 AC 35 ms
11,112 KB
testcase_21 AC 35 ms
11,184 KB
testcase_22 AC 32 ms
10,756 KB
testcase_23 AC 30 ms
10,420 KB
testcase_24 AC 31 ms
10,592 KB
testcase_25 AC 37 ms
11,300 KB
testcase_26 AC 37 ms
11,368 KB
testcase_27 AC 35 ms
11,292 KB
testcase_28 WA -
testcase_29 WA -
testcase_30 AC 36 ms
11,352 KB
testcase_31 AC 33 ms
10,880 KB
testcase_32 AC 34 ms
11,076 KB
testcase_33 WA -
testcase_34 AC 109 ms
14,004 KB
testcase_35 AC 106 ms
14,004 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

d = r[0] / 2
for i in range(n - 1):
    d += r[i + 1] * 2

if d >= (x**2 + y**2)**0.5:
    print("Yes")
else:
    print("No")
0