結果

問題 No.1131 Deviation Score
ユーザー yocto_sothothyocto_sothoth
提出日時 2020-08-28 06:32:11
言語 Ruby
(3.3.0)
結果
AC  
実行時間 212 ms / 2,000 ms
コード長 115 bytes
コンパイル時間 115 ms
コンパイル使用メモリ 11,212 KB
実行使用メモリ 23,540 KB
最終ジャッジ日時 2023-09-10 12:30:22
合計ジャッジ時間 4,781 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 109 ms
16,416 KB
testcase_01 AC 87 ms
15,088 KB
testcase_02 AC 198 ms
20,464 KB
testcase_03 AC 136 ms
18,520 KB
testcase_04 AC 186 ms
20,256 KB
testcase_05 AC 124 ms
17,464 KB
testcase_06 AC 194 ms
20,156 KB
testcase_07 AC 137 ms
18,536 KB
testcase_08 AC 182 ms
20,196 KB
testcase_09 AC 121 ms
17,364 KB
testcase_10 AC 178 ms
20,124 KB
testcase_11 AC 181 ms
20,092 KB
testcase_12 AC 166 ms
20,056 KB
testcase_13 AC 191 ms
20,524 KB
testcase_14 AC 106 ms
16,264 KB
testcase_15 AC 104 ms
16,088 KB
testcase_16 AC 185 ms
20,256 KB
testcase_17 AC 124 ms
17,472 KB
testcase_18 AC 212 ms
23,540 KB
testcase_19 AC 83 ms
15,064 KB
testcase_20 AC 82 ms
15,148 KB
testcase_21 AC 81 ms
15,212 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n = gets.to_i
x = gets.split.map(&:to_i)

mean = x.sum / n.to_f
x.each do |e|
  puts (50 - (mean - e) / 2).to_i
end
0