結果
| 問題 | No.1944 ∞ |
| コンテスト | |
| ユーザー |
ripity
|
| 提出日時 | 2022-05-20 21:47:26 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 256 bytes |
| 記録 | |
| コンパイル時間 | 153 ms |
| コンパイル使用メモリ | 82,500 KB |
| 実行使用メモリ | 103,680 KB |
| 最終ジャッジ日時 | 2024-09-20 07:46:47 |
| 合計ジャッジ時間 | 2,881 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 33 WA * 3 |
ソースコード
def s(x):
return x*x
n, x, y = map(int, input().split())
r = list(map(int, input().split()))
if n == 1:
if s(x)+s(y) == s(r[0]): print('Yes')
else: print('No')
else:
if s(r[0]+2*sum(r[1:])) >= s(x)+s(y): print('Yes')
else: print('No')
ripity