結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 15 ms
7,776 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 15 ms
7,808 KB
testcase_05 AC 15 ms
7,844 KB
testcase_06 AC 15 ms
7,944 KB
testcase_07 AC 16 ms
7,848 KB
testcase_08 AC 16 ms
7,776 KB
testcase_09 WA -
testcase_10 AC 15 ms
7,852 KB
testcase_11 WA -
testcase_12 AC 16 ms
7,820 KB
testcase_13 AC 15 ms
7,848 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 18 ms
9,068 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 19 ms
9,212 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 16 ms
8,404 KB
testcase_24 AC 17 ms
8,468 KB
testcase_25 AC 20 ms
9,432 KB
testcase_26 AC 20 ms
9,420 KB
testcase_27 AC 19 ms
9,292 KB
testcase_28 WA -
testcase_29 WA -
testcase_30 AC 19 ms
9,504 KB
testcase_31 AC 17 ms
8,880 KB
testcase_32 AC 18 ms
8,992 KB
testcase_33 WA -
testcase_34 AC 56 ms
12,156 KB
testcase_35 AC 56 ms
12,240 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 t*t>=x*x+y*y:
    if t>=0 or t*t<=x*x+y*y:
        print("Yes")
    else:
        print ("No")
else:
    print("No")
0