結果

問題 No.1944 ∞
ユーザー negibose2020negibose2020
提出日時 2022-05-21 08:35:03
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 892 bytes
コンパイル時間 1,599 ms
コンパイル使用メモリ 81,388 KB
実行使用メモリ 128,424 KB
最終ジャッジ日時 2023-10-20 15:40:32
合計ジャッジ時間 4,080 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
51,472 KB
testcase_01 AC 36 ms
51,464 KB
testcase_02 AC 36 ms
51,472 KB
testcase_03 AC 36 ms
51,476 KB
testcase_04 AC 36 ms
51,472 KB
testcase_05 AC 37 ms
51,476 KB
testcase_06 AC 37 ms
51,464 KB
testcase_07 AC 37 ms
51,476 KB
testcase_08 AC 37 ms
51,472 KB
testcase_09 AC 36 ms
51,468 KB
testcase_10 AC 36 ms
51,468 KB
testcase_11 AC 37 ms
51,468 KB
testcase_12 AC 36 ms
51,468 KB
testcase_13 AC 36 ms
51,472 KB
testcase_14 AC 36 ms
51,468 KB
testcase_15 AC 103 ms
120,440 KB
testcase_16 AC 44 ms
65,564 KB
testcase_17 WA -
testcase_18 AC 45 ms
63,516 KB
testcase_19 AC 42 ms
61,468 KB
testcase_20 WA -
testcase_21 AC 44 ms
63,516 KB
testcase_22 AC 43 ms
61,468 KB
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 AC 43 ms
61,468 KB
testcase_29 AC 41 ms
59,420 KB
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 AC 95 ms
128,424 KB
testcase_34 AC 95 ms
127,428 KB
testcase_35 AC 96 ms
127,432 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