結果

問題 No.1944 ∞
ユーザー AkariAkari
提出日時 2022-05-20 21:49:37
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 264 bytes
コンパイル時間 195 ms
コンパイル使用メモリ 11,740 KB
実行使用メモリ 44,456 KB
最終ジャッジ日時 2023-10-20 12:21:26
合計ジャッジ時間 21,362 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 537 ms
42,452 KB
testcase_01 AC 458 ms
42,364 KB
testcase_02 AC 464 ms
42,360 KB
testcase_03 WA -
testcase_04 AC 470 ms
42,364 KB
testcase_05 AC 458 ms
42,364 KB
testcase_06 AC 458 ms
42,364 KB
testcase_07 AC 471 ms
42,360 KB
testcase_08 AC 458 ms
42,364 KB
testcase_09 WA -
testcase_10 AC 466 ms
42,456 KB
testcase_11 AC 479 ms
42,364 KB
testcase_12 AC 457 ms
42,364 KB
testcase_13 AC 474 ms
42,360 KB
testcase_14 AC 455 ms
42,360 KB
testcase_15 WA -
testcase_16 AC 455 ms
42,364 KB
testcase_17 AC 469 ms
42,364 KB
testcase_18 AC 460 ms
42,360 KB
testcase_19 AC 460 ms
42,360 KB
testcase_20 AC 455 ms
42,360 KB
testcase_21 AC 457 ms
42,364 KB
testcase_22 AC 455 ms
42,360 KB
testcase_23 AC 472 ms
42,360 KB
testcase_24 AC 452 ms
42,360 KB
testcase_25 AC 457 ms
42,364 KB
testcase_26 AC 465 ms
42,364 KB
testcase_27 AC 455 ms
42,364 KB
testcase_28 AC 463 ms
42,364 KB
testcase_29 AC 468 ms
42,364 KB
testcase_30 AC 464 ms
42,360 KB
testcase_31 AC 467 ms
42,360 KB
testcase_32 AC 465 ms
42,364 KB
testcase_33 AC 467 ms
44,364 KB
testcase_34 AC 472 ms
44,364 KB
testcase_35 AC 464 ms
44,456 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
import numpy as np


def main():
    n, x, y = map(int, input().split())
    R = np.fromstring(input(), np.int64, sep=' ')
    R.sort()
    print('Yes' if (R[0] + 2*R[1:].sum()) ** 2 >= x ** 2 + y ** 2 else 'No')



if __name__ == '__main__':
    main()
0