結果
| 問題 |
No.1944 ∞
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-10-01 17:24:57 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 269 bytes |
| コンパイル時間 | 312 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 30,652 KB |
| 最終ジャッジ日時 | 2024-12-23 23:42:21 |
| 合計ジャッジ時間 | 2,890 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 27 WA * 9 |
ソースコード
n,x,y=list(map(int,input().split()))
r=list(map(int,input().split()))
sum=0
for i in r:
sum+=i*2
sum-=r[0]
if (sum**2)>=(x**2)+(y**2):
if sum-r[0]*2<=0 or (sum-r[0]*2)**2<=(x**2)+(y**2):
print("Yes")
else:
print ("No")
else:
print("No")