結果

問題 No.1944 ∞
ユーザー roarisroaris
提出日時 2022-05-20 23:35:04
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 322 bytes
コンパイル時間 142 ms
コンパイル使用メモリ 81,796 KB
実行使用メモリ 102,116 KB
最終ジャッジ日時 2023-10-20 14:31:09
合計ジャッジ時間 3,638 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,564 KB
testcase_01 AC 35 ms
53,564 KB
testcase_02 AC 37 ms
53,564 KB
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 AC 34 ms
53,564 KB
testcase_12 AC 35 ms
53,564 KB
testcase_13 AC 35 ms
53,564 KB
testcase_14 AC 37 ms
53,564 KB
testcase_15 AC 78 ms
102,116 KB
testcase_16 AC 46 ms
63,728 KB
testcase_17 WA -
testcase_18 AC 40 ms
61,680 KB
testcase_19 AC 41 ms
61,680 KB
testcase_20 AC 45 ms
61,680 KB
testcase_21 AC 41 ms
61,680 KB
testcase_22 AC 42 ms
61,680 KB
testcase_23 AC 43 ms
61,680 KB
testcase_24 AC 43 ms
61,680 KB
testcase_25 AC 44 ms
63,728 KB
testcase_26 AC 45 ms
63,728 KB
testcase_27 AC 43 ms
61,680 KB
testcase_28 AC 39 ms
61,680 KB
testcase_29 AC 39 ms
61,680 KB
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 AC 68 ms
97,556 KB
testcase_34 WA -
testcase_35 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline
from collections import *

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

if N==1:
    if X**2+Y**2==R*R:
        print('Yes')
    else:
        print('No')
else:
    S = 2*sum(R)
    
    if X**2+Y**2<=S*S:
        print('Yes')
    else:
        print('No')
0