結果
| 問題 |
No.1944 ∞
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-10-01 17:30:09 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 268 bytes |
| コンパイル時間 | 168 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 30,772 KB |
| 最終ジャッジ日時 | 2024-12-23 23:47:56 |
| 合計ジャッジ時間 | 2,943 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 32 WA * 4 |
ソースコード
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")