結果
| 問題 | No.1134 Deviation Score Ⅱ |
| ユーザー |
nohakai3
|
| 提出日時 | 2022-07-20 13:28:37 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
AC
|
| 実行時間 | 371 ms / 2,000 ms |
| コード長 | 197 bytes |
| 記録 | |
| コンパイル時間 | 374 ms |
| コンパイル使用メモリ | 20,704 KB |
| 実行使用メモリ | 20,624 KB |
| 最終ジャッジ日時 | 2026-03-20 12:54:05 |
| 合計ジャッジ時間 | 8,360 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 28 |
ソースコード
n=int(input())
x=list(map(int,input().split()))
m=int(input())
from statistics import pstdev,mean
m-=1
if pstdev(x)==0:
print(50)
exit()
ans=50+10*(x[m]-mean(x))/pstdev(x)
print(int(ans))
nohakai3