結果
| 問題 | No.1944 ∞ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-10-01 18:03:56 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 125 ms / 2,000 ms |
| + 37µs | |
| コード長 | 227 bytes |
| 記録 | |
| コンパイル時間 | 288 ms |
| コンパイル使用メモリ | 21,540 KB |
| 実行使用メモリ | 33,764 KB |
| 最終ジャッジ日時 | 2026-07-12 07:57:13 |
| 合計ジャッジ時間 | 5,895 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 37 |
ソースコード
n,x,y=list(map(int,input().split()))
r=list(map(int,input().split()))
s=2*sum(r)-min(r)
if n==1:
if s*s==x*x+y*y:
print("Yes")
else:
print ("No")
elif s*s>=x*x+y*y:
print("Yes")
else:
print("No")