結果

問題 No.1944 ∞
ユーザー MasKoaTSMasKoaTS
提出日時 2022-05-20 22:33:26
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 855 bytes
コンパイル時間 159 ms
コンパイル使用メモリ 81,696 KB
実行使用メモリ 119,108 KB
最終ジャッジ日時 2023-10-20 13:18:42
合計ジャッジ時間 6,201 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
85,776 KB
testcase_01 AC 124 ms
85,768 KB
testcase_02 AC 124 ms
85,772 KB
testcase_03 WA -
testcase_04 AC 124 ms
85,772 KB
testcase_05 AC 126 ms
85,772 KB
testcase_06 AC 124 ms
85,772 KB
testcase_07 AC 128 ms
85,772 KB
testcase_08 AC 130 ms
85,768 KB
testcase_09 WA -
testcase_10 AC 124 ms
85,776 KB
testcase_11 AC 124 ms
85,776 KB
testcase_12 AC 124 ms
85,772 KB
testcase_13 AC 122 ms
85,776 KB
testcase_14 AC 128 ms
85,776 KB
testcase_15 AC 192 ms
119,108 KB
testcase_16 AC 136 ms
88,720 KB
testcase_17 AC 133 ms
88,384 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 134 ms
88,600 KB
testcase_21 WA -
testcase_22 AC 126 ms
86,456 KB
testcase_23 AC 126 ms
86,456 KB
testcase_24 AC 125 ms
86,456 KB
testcase_25 AC 134 ms
88,632 KB
testcase_26 AC 132 ms
88,628 KB
testcase_27 AC 134 ms
88,608 KB
testcase_28 AC 140 ms
88,300 KB
testcase_29 AC 127 ms
86,456 KB
testcase_30 AC 135 ms
88,612 KB
testcase_31 AC 134 ms
88,316 KB
testcase_32 AC 135 ms
88,584 KB
testcase_33 AC 170 ms
116,996 KB
testcase_34 AC 164 ms
117,028 KB
testcase_35 AC 163 ms
117,016 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import itertools as iter
import collections as coll
import heapq as hq
import bisect as bis
from decimal import Decimal as dec
from functools import cmp_to_key
import math
import sys
#import pypyjit
#pypyjit.set_param('max_unroll_recursion=-1')
sys.setrecursionlimit(10 ** 6)
inp = sys.stdin.readline
input = lambda : inp().rstrip()
getN = lambda : int(inp())
getNs = lambda : map(int, inp().split())
getList = lambda :list(map(int, inp().split()))
getStrs = lambda n : [input() for _ in [0] * n]
def yexit(): print("Yes"); exit(0)
def nexit(): print("No"); exit(0)
pi = 3.141592653589793
mod = 1000000007
MOD = 998244353
INF = 4611686018427387903
dx = [1, 0, -1, 0];	dy = [0, 1, 0, -1]


"""
Main Code
"""

n, x, y = getNs()
r = getList()

d = x ** 2 + y ** 2
s = (r[0] + sum(r[1:]) * 2) ** 2
if((n >= 2 and min(r) ** 2 > d) or s >= d):
	yexit()
nexit()
0