結果

問題 No.1944 ∞
ユーザー siganaisiganai
提出日時 2022-05-20 21:57:54
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 525 bytes
コンパイル時間 1,676 ms
コンパイル使用メモリ 81,372 KB
実行使用メモリ 100,544 KB
最終ジャッジ日時 2023-10-20 12:32:57
合計ジャッジ時間 3,895 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 56 ms
63,436 KB
testcase_01 AC 55 ms
63,436 KB
testcase_02 AC 56 ms
63,436 KB
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 AC 56 ms
63,440 KB
testcase_12 AC 57 ms
63,440 KB
testcase_13 AC 56 ms
63,440 KB
testcase_14 AC 58 ms
63,440 KB
testcase_15 AC 114 ms
100,544 KB
testcase_16 AC 61 ms
68,280 KB
testcase_17 AC 60 ms
66,232 KB
testcase_18 AC 61 ms
68,280 KB
testcase_19 AC 60 ms
66,232 KB
testcase_20 AC 62 ms
68,280 KB
testcase_21 AC 62 ms
68,280 KB
testcase_22 AC 60 ms
66,232 KB
testcase_23 AC 59 ms
66,232 KB
testcase_24 AC 59 ms
66,232 KB
testcase_25 AC 61 ms
68,280 KB
testcase_26 AC 60 ms
68,280 KB
testcase_27 AC 59 ms
68,280 KB
testcase_28 AC 58 ms
66,232 KB
testcase_29 AC 60 ms
66,232 KB
testcase_30 AC 60 ms
68,280 KB
testcase_31 AC 59 ms
66,232 KB
testcase_32 AC 59 ms
68,280 KB
testcase_33 AC 104 ms
98,116 KB
testcase_34 AC 106 ms
98,112 KB
testcase_35 AC 105 ms
98,120 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 ** 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