結果

問題 No.1944 ∞
ユーザー siganaisiganai
提出日時 2022-05-20 21:58:15
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 109 ms / 2,000 ms
コード長 528 bytes
コンパイル時間 800 ms
コンパイル使用メモリ 81,608 KB
実行使用メモリ 100,568 KB
最終ジャッジ日時 2023-10-20 12:33:51
合計ジャッジ時間 3,765 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 55 ms
63,492 KB
testcase_01 AC 55 ms
63,492 KB
testcase_02 AC 55 ms
63,492 KB
testcase_03 AC 56 ms
63,492 KB
testcase_04 AC 56 ms
63,492 KB
testcase_05 AC 56 ms
63,492 KB
testcase_06 AC 56 ms
63,492 KB
testcase_07 AC 57 ms
63,492 KB
testcase_08 AC 56 ms
63,492 KB
testcase_09 AC 55 ms
63,492 KB
testcase_10 AC 55 ms
63,492 KB
testcase_11 AC 56 ms
63,492 KB
testcase_12 AC 56 ms
63,492 KB
testcase_13 AC 57 ms
63,492 KB
testcase_14 AC 56 ms
63,492 KB
testcase_15 AC 109 ms
100,568 KB
testcase_16 AC 60 ms
68,316 KB
testcase_17 AC 59 ms
66,268 KB
testcase_18 AC 60 ms
68,316 KB
testcase_19 AC 58 ms
66,268 KB
testcase_20 AC 60 ms
68,316 KB
testcase_21 AC 60 ms
68,316 KB
testcase_22 AC 58 ms
66,268 KB
testcase_23 AC 58 ms
66,268 KB
testcase_24 AC 60 ms
66,268 KB
testcase_25 AC 62 ms
68,316 KB
testcase_26 AC 60 ms
68,316 KB
testcase_27 AC 60 ms
68,316 KB
testcase_28 AC 58 ms
66,268 KB
testcase_29 AC 60 ms
66,268 KB
testcase_30 AC 60 ms
68,316 KB
testcase_31 AC 60 ms
66,268 KB
testcase_32 AC 61 ms
68,316 KB
testcase_33 AC 103 ms
98,152 KB
testcase_34 AC 104 ms
98,148 KB
testcase_35 AC 102 ms
98,152 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env PyPy3

from collections import Counter, defaultdict, deque
import itertools
import re
import math
from functools import reduce
import operator
import bisect
from heapq import *
import functools
mod=998244353

import sys
input=sys.stdin.readline
n,x,y=map(int,input().split())
r=list(map(int,input().split()))
if n == 1:
    if r[0] ** 2 == x ** 2 + y ** 2:
        print('Yes')
    else:
        print('No')
    exit()
su = 2 * sum(r) - min(r)

if su ** 2 < x ** 2 + y ** 2:
    print('No')
else:
    print('Yes')
0