結果
問題 | No.1944 ∞ |
ユーザー |
![]() |
提出日時 | 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 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 26 WA * 10 |
ソースコード
# # # # 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")