結果

問題 No.1944 ∞
ユーザー titiatitia
提出日時 2022-05-20 21:55:48
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 214 bytes
コンパイル時間 397 ms
コンパイル使用メモリ 11,816 KB
実行使用メモリ 33,048 KB
最終ジャッジ日時 2023-10-20 12:30:30
合計ジャッジ時間 2,796 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
9,932 KB
testcase_01 AC 29 ms
9,932 KB
testcase_02 AC 29 ms
9,932 KB
testcase_03 WA -
testcase_04 AC 29 ms
9,932 KB
testcase_05 AC 30 ms
9,932 KB
testcase_06 AC 29 ms
9,932 KB
testcase_07 AC 29 ms
9,932 KB
testcase_08 AC 30 ms
9,932 KB
testcase_09 WA -
testcase_10 AC 34 ms
9,932 KB
testcase_11 AC 29 ms
9,932 KB
testcase_12 AC 30 ms
9,932 KB
testcase_13 AC 29 ms
9,932 KB
testcase_14 AC 31 ms
9,932 KB
testcase_15 AC 127 ms
33,048 KB
testcase_16 AC 36 ms
11,468 KB
testcase_17 AC 34 ms
10,760 KB
testcase_18 AC 36 ms
10,912 KB
testcase_19 AC 32 ms
10,328 KB
testcase_20 AC 36 ms
11,020 KB
testcase_21 AC 37 ms
10,940 KB
testcase_22 AC 33 ms
10,596 KB
testcase_23 AC 32 ms
10,264 KB
testcase_24 AC 33 ms
10,428 KB
testcase_25 AC 37 ms
11,184 KB
testcase_26 AC 37 ms
11,204 KB
testcase_27 AC 37 ms
11,132 KB
testcase_28 AC 34 ms
10,672 KB
testcase_29 AC 30 ms
10,204 KB
testcase_30 AC 36 ms
11,192 KB
testcase_31 AC 34 ms
10,772 KB
testcase_32 AC 35 ms
10,920 KB
testcase_33 AC 93 ms
13,180 KB
testcase_34 AC 95 ms
13,180 KB
testcase_35 AC 93 ms
13,180 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

N,X,Y=map(int,input().split())
R=list(map(int,input().split()))

R.sort()

MAX=R[0]

for r in R[1:]:
    MAX+=r*2

if MAX*MAX>=X*X+Y*Y:
    print("Yes")
else:
    print("No")
0