結果

問題 No.1944 ∞
ユーザー a aa a
提出日時 2022-10-01 17:53:28
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 221 bytes
コンパイル時間 233 ms
コンパイル使用メモリ 10,704 KB
実行使用メモリ 32,544 KB
最終ジャッジ日時 2023-08-25 15:30:37
合計ジャッジ時間 2,280 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 16 ms
7,820 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 15 ms
7,956 KB
testcase_05 AC 15 ms
7,820 KB
testcase_06 AC 15 ms
7,780 KB
testcase_07 AC 15 ms
7,820 KB
testcase_08 AC 15 ms
7,784 KB
testcase_09 WA -
testcase_10 AC 15 ms
7,920 KB
testcase_11 AC 15 ms
7,772 KB
testcase_12 AC 15 ms
7,956 KB
testcase_13 AC 15 ms
7,972 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 18 ms
8,860 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 19 ms
9,248 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 16 ms
8,428 KB
testcase_24 AC 17 ms
8,540 KB
testcase_25 AC 19 ms
9,332 KB
testcase_26 AC 19 ms
9,396 KB
testcase_27 AC 19 ms
9,372 KB
testcase_28 AC 18 ms
8,796 KB
testcase_29 AC 16 ms
8,248 KB
testcase_30 AC 19 ms
9,428 KB
testcase_31 AC 17 ms
8,984 KB
testcase_32 AC 18 ms
9,056 KB
testcase_33 AC 56 ms
12,160 KB
testcase_34 AC 57 ms
12,068 KB
testcase_35 AC 56 ms
12,040 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,x,y=list(map(int,input().split()))
r=list(map(int,input().split()))
s=2*sum(r)-min(r)
t=2*min(r)-s
if s*s>=x*x+y*y:
    if t>=0 or t*t<=x*x+y*y:
        print("Yes")
    else:
        print ("No")
else:
    print("No")
0