結果

問題 No.1944 ∞
ユーザー rlangevinrlangevin
提出日時 2023-01-26 20:00:09
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 267 bytes
コンパイル時間 437 ms
コンパイル使用メモリ 87,244 KB
実行使用メモリ 107,108 KB
最終ジャッジ日時 2023-09-09 19:06:04
合計ジャッジ時間 4,608 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,356 KB
testcase_01 AC 71 ms
71,268 KB
testcase_02 AC 72 ms
71,420 KB
testcase_03 WA -
testcase_04 AC 70 ms
71,256 KB
testcase_05 AC 68 ms
71,220 KB
testcase_06 AC 70 ms
71,220 KB
testcase_07 AC 71 ms
71,420 KB
testcase_08 AC 70 ms
71,500 KB
testcase_09 AC 70 ms
71,084 KB
testcase_10 AC 73 ms
71,104 KB
testcase_11 AC 71 ms
71,224 KB
testcase_12 AC 71 ms
71,220 KB
testcase_13 AC 71 ms
71,272 KB
testcase_14 AC 71 ms
71,064 KB
testcase_15 AC 114 ms
107,108 KB
testcase_16 AC 76 ms
75,924 KB
testcase_17 AC 75 ms
75,740 KB
testcase_18 AC 75 ms
75,880 KB
testcase_19 AC 76 ms
75,952 KB
testcase_20 AC 75 ms
75,780 KB
testcase_21 AC 76 ms
75,660 KB
testcase_22 AC 76 ms
75,996 KB
testcase_23 AC 76 ms
75,560 KB
testcase_24 AC 75 ms
75,924 KB
testcase_25 AC 76 ms
75,940 KB
testcase_26 AC 78 ms
75,892 KB
testcase_27 AC 77 ms
75,892 KB
testcase_28 AC 77 ms
75,560 KB
testcase_29 AC 77 ms
75,812 KB
testcase_30 AC 77 ms
76,004 KB
testcase_31 AC 77 ms
76,004 KB
testcase_32 AC 76 ms
75,928 KB
testcase_33 AC 106 ms
103,632 KB
testcase_34 AC 106 ms
103,888 KB
testcase_35 AC 105 ms
104,004 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, X, Y = map(int, input().split())
if X == 0 and Y == 0:
    print("Yes")
    exit()
    
R = list(map(int, input().split()))
maxr = sum(R) * 2 - min(R)
minr = max(0, 3 * max(R) - sum(R) * 2)
print("Yes") if minr ** 2 <= X ** 2 + Y ** 2 <= maxr ** 2 else print("No")
0