結果

問題 No.1944 ∞
ユーザー 👑 H20H20
提出日時 2022-04-02 19:21:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 115 ms / 2,000 ms
コード長 260 bytes
コンパイル時間 275 ms
コンパイル使用メモリ 87,324 KB
実行使用メモリ 107,044 KB
最終ジャッジ日時 2023-09-09 03:32:06
合計ジャッジ時間 5,388 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,356 KB
testcase_01 AC 74 ms
71,520 KB
testcase_02 AC 74 ms
71,760 KB
testcase_03 AC 75 ms
71,236 KB
testcase_04 AC 78 ms
71,636 KB
testcase_05 AC 74 ms
71,252 KB
testcase_06 AC 72 ms
71,672 KB
testcase_07 AC 75 ms
71,388 KB
testcase_08 AC 74 ms
71,704 KB
testcase_09 AC 75 ms
71,500 KB
testcase_10 AC 75 ms
71,640 KB
testcase_11 AC 75 ms
71,420 KB
testcase_12 AC 75 ms
71,392 KB
testcase_13 AC 75 ms
71,528 KB
testcase_14 AC 76 ms
71,648 KB
testcase_15 AC 115 ms
107,044 KB
testcase_16 AC 79 ms
76,380 KB
testcase_17 AC 77 ms
76,128 KB
testcase_18 AC 79 ms
76,128 KB
testcase_19 AC 78 ms
76,336 KB
testcase_20 AC 78 ms
76,116 KB
testcase_21 AC 79 ms
76,348 KB
testcase_22 AC 80 ms
75,880 KB
testcase_23 AC 78 ms
76,296 KB
testcase_24 AC 78 ms
76,116 KB
testcase_25 AC 79 ms
76,096 KB
testcase_26 AC 80 ms
76,204 KB
testcase_27 AC 78 ms
76,028 KB
testcase_28 AC 79 ms
76,004 KB
testcase_29 AC 79 ms
76,352 KB
testcase_30 AC 79 ms
76,212 KB
testcase_31 AC 78 ms
76,176 KB
testcase_32 AC 77 ms
76,048 KB
testcase_33 AC 111 ms
104,272 KB
testcase_34 AC 109 ms
104,224 KB
testcase_35 AC 111 ms
104,364 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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