結果

問題 No.1944 ∞
ユーザー ntudantuda
提出日時 2022-10-25 22:55:48
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 297 bytes
コンパイル時間 434 ms
コンパイル使用メモリ 87,020 KB
実行使用メモリ 106,644 KB
最終ジャッジ日時 2023-09-16 19:36:50
合計ジャッジ時間 5,005 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
70,972 KB
testcase_01 AC 74 ms
70,976 KB
testcase_02 AC 75 ms
71,392 KB
testcase_03 WA -
testcase_04 AC 72 ms
71,268 KB
testcase_05 AC 72 ms
71,260 KB
testcase_06 AC 73 ms
71,368 KB
testcase_07 AC 73 ms
71,268 KB
testcase_08 AC 72 ms
71,388 KB
testcase_09 WA -
testcase_10 AC 72 ms
71,204 KB
testcase_11 AC 71 ms
71,464 KB
testcase_12 AC 71 ms
71,288 KB
testcase_13 AC 74 ms
71,236 KB
testcase_14 AC 73 ms
71,100 KB
testcase_15 AC 114 ms
106,644 KB
testcase_16 AC 77 ms
75,888 KB
testcase_17 AC 75 ms
75,672 KB
testcase_18 AC 78 ms
75,960 KB
testcase_19 AC 75 ms
75,900 KB
testcase_20 AC 77 ms
75,948 KB
testcase_21 AC 77 ms
76,020 KB
testcase_22 AC 75 ms
75,992 KB
testcase_23 AC 76 ms
75,612 KB
testcase_24 AC 75 ms
75,588 KB
testcase_25 AC 79 ms
75,584 KB
testcase_26 AC 79 ms
75,748 KB
testcase_27 AC 79 ms
75,908 KB
testcase_28 AC 79 ms
75,700 KB
testcase_29 AC 78 ms
75,752 KB
testcase_30 AC 78 ms
75,672 KB
testcase_31 AC 77 ms
75,696 KB
testcase_32 AC 78 ms
75,720 KB
testcase_33 AC 106 ms
103,796 KB
testcase_34 AC 107 ms
103,656 KB
testcase_35 AC 106 ms
103,708 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,X,Y = map(int,input().split())
R = list(map(int,input().split()))
if N == 1:
    if X * X + Y * Y <= R[0] * R[0]:
        print("Yes")
    else:
        print("No")
else:
    R.sort()
    R2 = sum(R) * 2 - R[0]
    if X * X + Y * Y <= R2 * R2:
        print("Yes")
    else:
        print("No")
0