結果
問題 | No.1944 ∞ |
ユーザー |
|
提出日時 | 2022-05-20 21:48:27 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 338 bytes |
コンパイル時間 | 88 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 30,788 KB |
最終ジャッジ日時 | 2024-09-20 07:48:35 |
合計ジャッジ時間 | 2,311 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 WA * 16 |
ソースコード
inf=10**18dxy=[(0,1), (1,0), (-1, 0), (0, -1)]mod=10**9+7MOD=998244353def main():N, X, Y = map(int, input().split())R = [int(i) for i in input().split()]dis = (X**2+Y**2)**(1/2)if N==1:print("Yes" if R[0]==dis else "No")returnif sum(R)*2-R[0]>=dis: print("Yes")else: print("N0")main()