結果

問題 No.1131 Deviation Score
ユーザー KisaragiEffectiveKisaragiEffective
提出日時 2020-11-06 19:47:18
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 113 bytes
コンパイル時間 120 ms
コンパイル使用メモリ 11,368 KB
実行使用メモリ 23,596 KB
最終ジャッジ日時 2023-09-29 17:51:56
合計ジャッジ時間 4,473 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 102 ms
17,164 KB
testcase_01 AC 79 ms
15,160 KB
testcase_02 AC 179 ms
22,764 KB
testcase_03 AC 128 ms
18,668 KB
testcase_04 AC 173 ms
22,056 KB
testcase_05 AC 112 ms
17,472 KB
testcase_06 AC 176 ms
22,808 KB
testcase_07 AC 124 ms
18,716 KB
testcase_08 AC 168 ms
21,724 KB
testcase_09 AC 112 ms
17,360 KB
testcase_10 AC 164 ms
21,416 KB
testcase_11 AC 168 ms
21,856 KB
testcase_12 AC 151 ms
19,944 KB
testcase_13 AC 178 ms
22,716 KB
testcase_14 AC 101 ms
16,792 KB
testcase_15 AC 101 ms
16,592 KB
testcase_16 AC 171 ms
22,048 KB
testcase_17 AC 114 ms
17,364 KB
testcase_18 AC 198 ms
23,596 KB
testcase_19 AC 79 ms
15,096 KB
testcase_20 WA -
testcase_21 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

v = [gets.to_i, gets.split.map(&:to_i)]
AVG = v[1].sum / v[0]
v[1].each{|x| puts (50 - (AVG - x) / 2).floor - 1 }
0