結果

問題 No.1134 Deviation Score Ⅱ
ユーザー 👑 hos.lyrichos.lyric
提出日時 2020-07-30 02:53:55
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 130 bytes
コンパイル時間 147 ms
コンパイル使用メモリ 11,284 KB
実行使用メモリ 22,508 KB
最終ジャッジ日時 2023-09-13 20:46:43
合計ジャッジ時間 4,174 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 87 ms
15,468 KB
testcase_01 AC 115 ms
21,244 KB
testcase_02 AC 107 ms
19,880 KB
testcase_03 AC 113 ms
20,576 KB
testcase_04 AC 96 ms
17,592 KB
testcase_05 AC 118 ms
21,408 KB
testcase_06 AC 90 ms
17,048 KB
testcase_07 AC 87 ms
16,396 KB
testcase_08 AC 113 ms
20,296 KB
testcase_09 AC 86 ms
16,228 KB
testcase_10 AC 81 ms
15,536 KB
testcase_11 AC 107 ms
19,352 KB
testcase_12 AC 106 ms
19,492 KB
testcase_13 AC 128 ms
22,328 KB
testcase_14 AC 106 ms
19,668 KB
testcase_15 AC 96 ms
17,920 KB
testcase_16 AC 86 ms
16,772 KB
testcase_17 AC 102 ms
19,536 KB
testcase_18 AC 106 ms
19,528 KB
testcase_19 AC 113 ms
20,808 KB
testcase_20 AC 97 ms
18,484 KB
testcase_21 AC 112 ms
20,900 KB
testcase_22 AC 105 ms
20,264 KB
testcase_23 AC 76 ms
15,264 KB
testcase_24 AC 79 ms
15,236 KB
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 81 ms
15,408 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n=gets.to_i
x=gets.split.map &:to_f
m=x.sum/n
s=(x.map{|y|(y-m)**2}.sum/n)**0.5
p (50+10*(x[gets.to_i-1]-m)/(s>0? s:1)+1e-9).floor
0