結果

問題 No.1944 ∞
ユーザー 👑 H20H20
提出日時 2022-04-02 19:20:57
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 112 ms / 2,000 ms
コード長 256 bytes
コンパイル時間 307 ms
コンパイル使用メモリ 87,172 KB
実行使用メモリ 107,400 KB
最終ジャッジ日時 2023-09-09 03:32:33
合計ジャッジ時間 4,552 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,756 KB
testcase_01 AC 72 ms
71,844 KB
testcase_02 AC 72 ms
71,984 KB
testcase_03 AC 73 ms
71,244 KB
testcase_04 AC 74 ms
71,260 KB
testcase_05 AC 71 ms
71,488 KB
testcase_06 AC 72 ms
71,184 KB
testcase_07 AC 72 ms
71,248 KB
testcase_08 AC 73 ms
71,380 KB
testcase_09 AC 73 ms
71,600 KB
testcase_10 AC 70 ms
71,616 KB
testcase_11 AC 70 ms
71,728 KB
testcase_12 AC 73 ms
71,332 KB
testcase_13 AC 73 ms
71,860 KB
testcase_14 AC 72 ms
71,456 KB
testcase_15 AC 112 ms
107,400 KB
testcase_16 AC 78 ms
76,608 KB
testcase_17 AC 75 ms
76,496 KB
testcase_18 AC 79 ms
76,484 KB
testcase_19 AC 76 ms
76,528 KB
testcase_20 AC 78 ms
76,532 KB
testcase_21 AC 74 ms
76,552 KB
testcase_22 AC 75 ms
76,284 KB
testcase_23 AC 74 ms
76,540 KB
testcase_24 AC 73 ms
76,368 KB
testcase_25 AC 75 ms
76,240 KB
testcase_26 AC 75 ms
76,456 KB
testcase_27 AC 74 ms
76,744 KB
testcase_28 AC 75 ms
76,396 KB
testcase_29 AC 75 ms
76,436 KB
testcase_30 AC 74 ms
76,416 KB
testcase_31 AC 76 ms
76,388 KB
testcase_32 AC 76 ms
76,624 KB
testcase_33 AC 107 ms
104,464 KB
testcase_34 AC 105 ms
104,428 KB
testcase_35 AC 108 ms
104,484 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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