結果

問題 No.1944 ∞
ユーザー ntudantuda
提出日時 2022-10-25 22:57:14
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 110 ms / 2,000 ms
コード長 297 bytes
コンパイル時間 271 ms
コンパイル使用メモリ 86,968 KB
実行使用メモリ 106,652 KB
最終ジャッジ日時 2023-09-16 19:38:00
合計ジャッジ時間 4,412 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,280 KB
testcase_01 AC 72 ms
71,464 KB
testcase_02 AC 70 ms
71,300 KB
testcase_03 AC 73 ms
71,268 KB
testcase_04 AC 72 ms
71,280 KB
testcase_05 AC 71 ms
71,316 KB
testcase_06 AC 72 ms
71,216 KB
testcase_07 AC 71 ms
71,408 KB
testcase_08 AC 71 ms
71,228 KB
testcase_09 AC 72 ms
71,296 KB
testcase_10 AC 69 ms
71,284 KB
testcase_11 AC 69 ms
71,312 KB
testcase_12 AC 69 ms
71,300 KB
testcase_13 AC 70 ms
71,380 KB
testcase_14 AC 68 ms
71,272 KB
testcase_15 AC 110 ms
106,652 KB
testcase_16 AC 73 ms
75,592 KB
testcase_17 AC 71 ms
75,592 KB
testcase_18 AC 73 ms
75,784 KB
testcase_19 AC 74 ms
75,588 KB
testcase_20 AC 73 ms
75,680 KB
testcase_21 AC 72 ms
75,536 KB
testcase_22 AC 71 ms
75,580 KB
testcase_23 AC 74 ms
75,644 KB
testcase_24 AC 74 ms
75,612 KB
testcase_25 AC 75 ms
75,592 KB
testcase_26 AC 74 ms
75,556 KB
testcase_27 AC 74 ms
75,564 KB
testcase_28 AC 73 ms
75,488 KB
testcase_29 AC 75 ms
75,788 KB
testcase_30 AC 75 ms
75,556 KB
testcase_31 AC 72 ms
75,556 KB
testcase_32 AC 82 ms
76,252 KB
testcase_33 AC 106 ms
103,668 KB
testcase_34 AC 103 ms
103,740 KB
testcase_35 AC 103 ms
103,864 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