結果
問題 |
No.1944 ∞
|
ユーザー |
![]() |
提出日時 | 2022-03-26 12:55:09 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 85 ms / 2,000 ms |
コード長 | 254 bytes |
コンパイル時間 | 194 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 102,784 KB |
最終ジャッジ日時 | 2025-06-20 00:26:40 |
合計ジャッジ時間 | 3,136 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 37 |
ソースコード
N,X,Y = map(int, input().split()) R = list(map(int, input().split())) if N==1: if X**2+Y**2==R[0]**2: print('Yes') else: print('No') else: if X**2+Y**2<=(sum(R)*2-min(R))**2: print('Yes') else: print('No')