結果

問題 No.1944 ∞
ユーザー MasKoaTSMasKoaTS
提出日時 2022-05-20 22:00:29
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 843 bytes
コンパイル時間 193 ms
コンパイル使用メモリ 81,736 KB
実行使用メモリ 119,172 KB
最終ジャッジ日時 2023-10-20 12:38:41
合計ジャッジ時間 6,309 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 131 ms
85,804 KB
testcase_01 AC 125 ms
85,800 KB
testcase_02 AC 125 ms
85,800 KB
testcase_03 AC 127 ms
85,800 KB
testcase_04 AC 125 ms
85,800 KB
testcase_05 WA -
testcase_06 AC 124 ms
85,804 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 125 ms
85,800 KB
testcase_10 WA -
testcase_11 AC 126 ms
85,800 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 172 ms
119,172 KB
testcase_16 AC 136 ms
88,784 KB
testcase_17 AC 137 ms
88,332 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 136 ms
88,660 KB
testcase_21 WA -
testcase_22 AC 129 ms
86,516 KB
testcase_23 AC 128 ms
86,516 KB
testcase_24 AC 129 ms
86,516 KB
testcase_25 AC 135 ms
88,688 KB
testcase_26 AC 133 ms
88,688 KB
testcase_27 AC 135 ms
88,676 KB
testcase_28 AC 140 ms
88,400 KB
testcase_29 AC 126 ms
86,516 KB
testcase_30 AC 135 ms
88,684 KB
testcase_31 AC 135 ms
88,364 KB
testcase_32 AC 135 ms
88,644 KB
testcase_33 AC 178 ms
117,080 KB
testcase_34 AC 165 ms
117,080 KB
testcase_35 AC 165 ms
117,072 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(min(r) ** 2 < d and s >= d):
	yexit()
nexit()
0