結果
| 問題 | No.1944 ∞ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-05-20 23:35:04 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 322 bytes |
| 記録 | |
| コンパイル時間 | 170 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 102,528 KB |
| 最終ジャッジ日時 | 2024-09-20 10:01:00 |
| 合計ジャッジ時間 | 3,108 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 WA * 6 RE * 8 |
ソースコード
import sys
input = sys.stdin.readline
from collections import *
N, X, Y = map(int, input().split())
R = list(map(int, input().split()))
if N==1:
if X**2+Y**2==R*R:
print('Yes')
else:
print('No')
else:
S = 2*sum(R)
if X**2+Y**2<=S*S:
print('Yes')
else:
print('No')