結果
| 問題 | No.1944 ∞ |
| コンテスト | |
| ユーザー |
hir355
|
| 提出日時 | 2022-05-20 21:37:42 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 330 bytes |
| 記録 | |
| コンパイル時間 | 239 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 103,296 KB |
| 最終ジャッジ日時 | 2024-09-20 07:31:47 |
| 合計ジャッジ時間 | 3,014 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 32 WA * 4 |
ソースコード
n, x, y = map(int, input().split())
r = list(map(int, input().split()))
s = sum(r[1:]) * 2
if r[0] ** 2 >= x ** 2 + y ** 2:
if r[0] <= s or (r[0] - s) ** 2 <= x ** 2 + y ** 2:
print('Yes')
else:
print('No')
else:
if (s + r[0]) ** 2 >= x ** 2 + y ** 2:
print('Yes')
else:
print('No')
hir355