結果
問題 | No.1944 ∞ |
ユーザー |
👑 ![]() |
提出日時 | 2022-05-20 22:29:24 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 336 bytes |
コンパイル時間 | 135 ms |
コンパイル使用メモリ | 82,004 KB |
実行使用メモリ | 104,860 KB |
最終ジャッジ日時 | 2024-09-20 08:43:10 |
合計ジャッジ時間 | 2,650 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 35 WA * 1 |
ソースコード
import sys N,X,Y = map(int,input().split()) R = list(map(int,input().split())) R.sort() DIST = X**2 + Y**2 RSUM = sum(R) * 2 - min(R) if RSUM ** 2 < DIST: print ("No") sys.exit() outdist = R[-1] remdist = sum(R[:-1]) * 2 td = outdist - remdist if td > 0 and X**2+Y**2 < td**2: print ("No") else: print ("Yes")