結果
| 問題 |
No.1134 Deviation Score Ⅱ
|
| ユーザー |
titia
|
| 提出日時 | 2023-11-15 05:16:27 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 172 bytes |
| コンパイル時間 | 222 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 17,620 KB |
| 最終ジャッジ日時 | 2024-09-26 04:33:08 |
| 合計ジャッジ時間 | 3,316 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 23 RE * 4 |
ソースコード
N=int(input())
A=list(map(int,input().split()))
M=int(input())
X=A[M-1]
ave=sum(A)/N
S=0
for a in A:
S+=abs(a-ave)**2
p=(X-ave)*10/((S/N)**(1/2))
print(int(p+50))
titia