結果
問題 | No.1944 ∞ |
ユーザー |
|
提出日時 | 2022-05-20 22:51:08 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 345 bytes |
コンパイル時間 | 176 ms |
コンパイル使用メモリ | 81,920 KB |
実行使用メモリ | 104,064 KB |
最終ジャッジ日時 | 2025-06-20 00:28:16 |
合計ジャッジ時間 | 2,793 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 36 WA * 1 |
ソースコード
#int(input()) #map(int, input().split()) #list(map(int, input().split())) N, X, Y = map(int, input().split()) R = list(map(int, input().split())) d = (X ** 2 + Y ** 2) ** 0.5 R = sorted(R) s = sum(R) * 2 - R[0] f = 0 if N == 1: if d == s: f = 1 else: if d <= s: f = 1 if f == 1: print("Yes") else: print("No")