結果
| 問題 | No.1944 ∞ |
| コンテスト | |
| ユーザー |
ikoma
|
| 提出日時 | 2022-05-20 21:50:46 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 340 bytes |
| 記録 | |
| コンパイル時間 | 285 ms |
| コンパイル使用メモリ | 81,864 KB |
| 実行使用メモリ | 102,400 KB |
| 最終ジャッジ日時 | 2024-09-20 07:54:03 |
| 合計ジャッジ時間 | 2,701 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 35 WA * 1 |
ソースコード
N,X,Y=map(int,input().split())
R=list(map(int,input().split()))
ln = 0
Rmax=max(R)
Rmin=min(R)
XY2=X**2+Y**2
if XY2>=Rmax**2:
rs = sum(R)*2 - Rmin
if XY2<=rs**2:
print("Yes")
else:
print("No")
else:
rs = (sum(R)-Rmax)*2
if Rmax<=rs or XY2>=(Rmax-rs)**2:
print("Yes")
else:
print("No")
ikoma