結果

問題 No.1944 ∞
ユーザー negibose2020negibose2020
提出日時 2022-05-21 08:35:03
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 892 bytes
コンパイル時間 279 ms
コンパイル使用メモリ 82,292 KB
実行使用メモリ 129,988 KB
最終ジャッジ日時 2024-09-20 11:12:33
合計ジャッジ時間 3,639 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
53,868 KB
testcase_01 AC 38 ms
53,080 KB
testcase_02 AC 37 ms
53,520 KB
testcase_03 AC 37 ms
52,692 KB
testcase_04 AC 37 ms
53,016 KB
testcase_05 AC 38 ms
52,964 KB
testcase_06 AC 37 ms
52,276 KB
testcase_07 AC 39 ms
53,068 KB
testcase_08 AC 37 ms
52,352 KB
testcase_09 AC 38 ms
53,176 KB
testcase_10 AC 37 ms
52,692 KB
testcase_11 AC 38 ms
52,216 KB
testcase_12 AC 38 ms
53,416 KB
testcase_13 AC 38 ms
52,212 KB
testcase_14 AC 38 ms
53,540 KB
testcase_15 AC 107 ms
121,332 KB
testcase_16 AC 45 ms
65,528 KB
testcase_17 WA -
testcase_18 AC 45 ms
63,404 KB
testcase_19 AC 44 ms
61,568 KB
testcase_20 WA -
testcase_21 AC 46 ms
63,080 KB
testcase_22 AC 45 ms
62,360 KB
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 AC 46 ms
61,916 KB
testcase_29 AC 45 ms
61,180 KB
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 AC 99 ms
129,988 KB
testcase_34 AC 98 ms
128,468 KB
testcase_35 AC 99 ms
127,792 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# # # # No.1941 CHECKER×CHECKER(1)
# # # S=[input() for _ in range(3)]
# # # ichimatu=["#.#",".#.","#.#"]
# # # ichima2=[".#.","#.#",".#."]
# # # if S==ichimatu or S==ichima2:
# # #     print("Yes")
# # # else:
# # #     print("No")

# # # No.1942 Leading zero
# # N=int(input())
# # for _ in range (N):
# #     print(int(input()))

# # No.1943 消えたAGCT(1)
# AGCT=set(["A","G","C","T"])
# n=int(input())
# s=list(input())
# ans=0
# for i in range (n):
#     if s[i] in AGCT:
#         ans=i+1

# print(ans)

# No.1944 ∞
n,x,y=map(int,input().split())
R=list(map(int,input().split()))
RR=list(map(lambda x:x*x ,R))
RR.sort()
RR1=[RR[0]]
RR2R=RR[1:]
RR2R=list(map(lambda x:x*2,RR2R))
RR2R.extend(RR1)
# print(RR2R)
if n==1:
    if x*x+y*y==R[0]*R[0]:
        print("Yes")
    else:
        print("No")
    exit()

if sum(RR2R)*sum(RR2R)>=x*x+y*y:
    print("Yes")
else:
    print("No")
0