結果

問題 No.1131 Deviation Score
ユーザー 👑 hos.lyrichos.lyric
提出日時 2020-08-02 16:26:35
言語 Ruby
(3.3.0)
結果
AC  
実行時間 423 ms / 2,000 ms
コード長 73 bytes
コンパイル時間 67 ms
コンパイル使用メモリ 11,316 KB
実行使用メモリ 29,628 KB
最終ジャッジ日時 2023-09-10 12:23:31
合計ジャッジ時間 6,950 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 159 ms
16,692 KB
testcase_01 AC 88 ms
15,352 KB
testcase_02 AC 393 ms
29,256 KB
testcase_03 AC 223 ms
21,392 KB
testcase_04 AC 364 ms
27,632 KB
testcase_05 AC 185 ms
19,004 KB
testcase_06 AC 384 ms
28,856 KB
testcase_07 AC 225 ms
21,568 KB
testcase_08 AC 353 ms
26,796 KB
testcase_09 AC 179 ms
19,172 KB
testcase_10 AC 343 ms
26,008 KB
testcase_11 AC 347 ms
26,584 KB
testcase_12 AC 304 ms
22,232 KB
testcase_13 AC 387 ms
28,588 KB
testcase_14 AC 140 ms
16,932 KB
testcase_15 AC 137 ms
16,912 KB
testcase_16 AC 363 ms
27,328 KB
testcase_17 AC 192 ms
19,020 KB
testcase_18 AC 423 ms
29,628 KB
testcase_19 AC 84 ms
15,108 KB
testcase_20 AC 81 ms
15,088 KB
testcase_21 AC 81 ms
15,232 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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