結果

問題 No.1131 Deviation Score
ユーザー kotatsugamekotatsugame
提出日時 2020-07-27 01:05:29
言語 Ruby
(3.3.0)
結果
AC  
実行時間 416 ms / 2,000 ms
コード長 75 bytes
コンパイル時間 391 ms
コンパイル使用メモリ 11,348 KB
実行使用メモリ 29,808 KB
最終ジャッジ日時 2023-09-10 12:18:09
合計ジャッジ時間 6,939 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 162 ms
16,696 KB
testcase_01 AC 89 ms
15,576 KB
testcase_02 AC 391 ms
29,328 KB
testcase_03 AC 219 ms
21,468 KB
testcase_04 AC 364 ms
28,008 KB
testcase_05 AC 187 ms
19,056 KB
testcase_06 AC 390 ms
28,812 KB
testcase_07 AC 223 ms
21,448 KB
testcase_08 AC 355 ms
26,872 KB
testcase_09 AC 178 ms
19,184 KB
testcase_10 AC 330 ms
26,152 KB
testcase_11 AC 345 ms
26,652 KB
testcase_12 AC 306 ms
22,184 KB
testcase_13 AC 381 ms
28,392 KB
testcase_14 AC 144 ms
17,160 KB
testcase_15 AC 140 ms
17,008 KB
testcase_16 AC 359 ms
27,300 KB
testcase_17 AC 191 ms
18,964 KB
testcase_18 AC 416 ms
29,808 KB
testcase_19 AC 84 ms
15,316 KB
testcase_20 AC 83 ms
15,144 KB
testcase_21 AC 83 ms
15,240 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n=gets.to_i
a=gets.split.map &:to_i
s=a.sum
a.map{|x|p (100*n-s+n*x)/(2*n)}
0