結果
| 問題 | No.1944 ∞ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-05-20 22:07:57 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 81 ms / 2,000 ms |
| + 552µs | |
| コード長 | 295 bytes |
| 記録 | |
| コンパイル時間 | 234 ms |
| コンパイル使用メモリ | 96,556 KB |
| 実行使用メモリ | 114,228 KB |
| 最終ジャッジ日時 | 2026-07-12 07:43:35 |
| 合計ジャッジ時間 | 4,103 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 37 |
ソースコード
N, X, Y = map(int, input().split())
R = list(map(int, input().split()))
acc = 2*sum(R)
mi = min(R)
acc -= mi
dis = X*X+Y*Y
acc *= acc
if N == 1:
if dis == acc:
print("Yes")
else:
print("No")
else:
if dis <= acc:
print("Yes")
else:
print("No")