結果
問題 | No.1944 ∞ |
ユーザー |
![]() |
提出日時 | 2022-05-21 01:06:30 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 89 ms / 2,000 ms |
コード長 | 266 bytes |
コンパイル時間 | 217 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 102,528 KB |
最終ジャッジ日時 | 2025-06-20 00:29:20 |
合計ジャッジ時間 | 3,125 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 37 |
ソースコード
N,X,Y=map(int,input().split()) R=list(map(int,input().split())) Rmin=min(R) XY2=X**2+Y**2 rs = sum(R)*2 - Rmin if N==1: if XY2==rs**2: print("Yes") else: print("No") else: if XY2<=rs**2: print("Yes") else: print("No")