結果

問題 No.1944 ∞
ユーザー 👑 H20H20
提出日時 2022-03-26 15:00:30
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 247 bytes
コンパイル時間 281 ms
コンパイル使用メモリ 87,232 KB
実行使用メモリ 106,720 KB
最終ジャッジ日時 2023-09-09 03:32:18
合計ジャッジ時間 5,203 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,620 KB
testcase_01 AC 70 ms
71,268 KB
testcase_02 AC 70 ms
71,648 KB
testcase_03 AC 69 ms
71,544 KB
testcase_04 AC 72 ms
71,148 KB
testcase_05 AC 69 ms
71,564 KB
testcase_06 AC 69 ms
71,316 KB
testcase_07 AC 69 ms
71,452 KB
testcase_08 AC 71 ms
71,296 KB
testcase_09 AC 71 ms
71,264 KB
testcase_10 AC 72 ms
71,352 KB
testcase_11 AC 71 ms
71,264 KB
testcase_12 AC 72 ms
71,424 KB
testcase_13 AC 70 ms
71,584 KB
testcase_14 AC 70 ms
71,368 KB
testcase_15 AC 110 ms
106,720 KB
testcase_16 AC 75 ms
75,896 KB
testcase_17 WA -
testcase_18 AC 72 ms
75,712 KB
testcase_19 AC 73 ms
75,936 KB
testcase_20 AC 74 ms
75,908 KB
testcase_21 AC 73 ms
76,188 KB
testcase_22 AC 73 ms
76,056 KB
testcase_23 AC 73 ms
75,876 KB
testcase_24 AC 74 ms
75,888 KB
testcase_25 AC 76 ms
75,900 KB
testcase_26 AC 75 ms
75,964 KB
testcase_27 AC 73 ms
75,836 KB
testcase_28 AC 73 ms
75,916 KB
testcase_29 AC 73 ms
75,764 KB
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 AC 103 ms
103,788 KB
testcase_34 WA -
testcase_35 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N,X,Y = map(int, input().split())
R = list(map(int, input().split())) 
if N==1:
    if X**2+Y**2==R[0]**2:
        print('Yes')
    else:
        print('No')
else:
    if X**2+Y**2<=(sum(R)*2)**2:
        print('Yes')
    else:
        print('No')
0