結果
| 問題 | No.1944 ∞ |
| コンテスト | |
| ユーザー |
hir355
|
| 提出日時 | 2022-05-20 21:37:42 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 330 bytes |
| 記録 | |
| コンパイル時間 | 169 ms |
| コンパイル使用メモリ | 85,348 KB |
| 実行使用メモリ | 103,808 KB |
| 最終ジャッジ日時 | 2026-04-08 19:17:53 |
| 合計ジャッジ時間 | 3,030 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 33 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