結果

問題 No.1131 Deviation Score
ユーザー iiljjiiljj
提出日時 2020-08-15 18:23:16
言語 Ruby
(3.3.0)
結果
AC  
実行時間 443 ms / 2,000 ms
コード長 77 bytes
コンパイル時間 556 ms
コンパイル使用メモリ 11,432 KB
実行使用メモリ 29,636 KB
最終ジャッジ日時 2023-09-10 12:27:55
合計ジャッジ時間 7,496 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 154 ms
16,612 KB
testcase_01 AC 85 ms
15,348 KB
testcase_02 AC 399 ms
29,356 KB
testcase_03 AC 224 ms
21,456 KB
testcase_04 AC 373 ms
27,672 KB
testcase_05 AC 187 ms
19,156 KB
testcase_06 AC 395 ms
28,404 KB
testcase_07 AC 229 ms
21,552 KB
testcase_08 AC 362 ms
26,812 KB
testcase_09 AC 182 ms
19,160 KB
testcase_10 AC 346 ms
26,144 KB
testcase_11 AC 356 ms
26,368 KB
testcase_12 AC 318 ms
22,176 KB
testcase_13 AC 406 ms
28,728 KB
testcase_14 AC 143 ms
17,136 KB
testcase_15 AC 140 ms
16,936 KB
testcase_16 AC 364 ms
27,288 KB
testcase_17 AC 200 ms
19,036 KB
testcase_18 AC 443 ms
29,636 KB
testcase_19 AC 84 ms
15,060 KB
testcase_20 AC 81 ms
15,056 KB
testcase_21 AC 79 ms
15,204 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets;
a=gets.split.map &:to_i
b=a.sum.to_f/a.size
a.map{p (50-(b-_1)/2).to_i}
0