結果

問題 No.1134 Deviation Score Ⅱ
ユーザー _matumo__matumo_
提出日時 2020-08-05 10:31:27
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 55 ms / 2,000 ms
コード長 157 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 10,688 KB
実行使用メモリ 15,736 KB
最終ジャッジ日時 2023-10-14 06:43:30
合計ジャッジ時間 2,817 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,760 KB
testcase_01 AC 52 ms
14,700 KB
testcase_02 AC 39 ms
12,744 KB
testcase_03 AC 46 ms
13,684 KB
testcase_04 AC 29 ms
10,544 KB
testcase_05 AC 50 ms
14,756 KB
testcase_06 AC 24 ms
9,844 KB
testcase_07 AC 22 ms
9,416 KB
testcase_08 AC 45 ms
13,656 KB
testcase_09 AC 22 ms
9,296 KB
testcase_10 AC 17 ms
7,976 KB
testcase_11 AC 39 ms
12,592 KB
testcase_12 AC 38 ms
12,444 KB
testcase_13 AC 55 ms
15,280 KB
testcase_14 AC 39 ms
12,616 KB
testcase_15 AC 31 ms
11,152 KB
testcase_16 AC 23 ms
9,496 KB
testcase_17 AC 38 ms
12,396 KB
testcase_18 AC 40 ms
12,792 KB
testcase_19 AC 48 ms
13,932 KB
testcase_20 AC 32 ms
11,404 KB
testcase_21 AC 46 ms
14,652 KB
testcase_22 AC 39 ms
11,488 KB
testcase_23 AC 16 ms
7,980 KB
testcase_24 AC 16 ms
7,788 KB
testcase_25 AC 19 ms
8,936 KB
testcase_26 AC 55 ms
15,736 KB
testcase_27 AC 16 ms
7,880 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,*P,M=map(int,(input()+' '+input()+' '+input()).split())
m=sum(P)/N
a=(sum([(n-m)**2 for n in P])/N)**0.5
z=50 if a==0 else int((P[M-1]-m)*10/a+50)
print(z)
0