結果

問題 No.1131 Deviation Score
ユーザー cielciel
提出日時 2021-05-04 12:48:18
言語 Ruby
(3.3.0)
結果
AC  
実行時間 215 ms / 2,000 ms
コード長 65 bytes
コンパイル時間 39 ms
コンパイル使用メモリ 11,444 KB
実行使用メモリ 29,896 KB
最終ジャッジ日時 2023-09-30 14:01:52
合計ジャッジ時間 4,512 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 113 ms
16,932 KB
testcase_01 AC 84 ms
15,100 KB
testcase_02 AC 203 ms
27,548 KB
testcase_03 AC 136 ms
21,040 KB
testcase_04 AC 190 ms
26,200 KB
testcase_05 AC 122 ms
19,068 KB
testcase_06 AC 198 ms
27,368 KB
testcase_07 AC 137 ms
21,384 KB
testcase_08 AC 185 ms
25,352 KB
testcase_09 AC 119 ms
19,224 KB
testcase_10 AC 179 ms
24,992 KB
testcase_11 AC 187 ms
25,428 KB
testcase_12 AC 165 ms
22,936 KB
testcase_13 AC 198 ms
27,340 KB
testcase_14 AC 106 ms
16,764 KB
testcase_15 AC 107 ms
16,788 KB
testcase_16 AC 190 ms
25,732 KB
testcase_17 AC 123 ms
19,200 KB
testcase_18 AC 215 ms
29,896 KB
testcase_19 AC 84 ms
14,988 KB
testcase_20 AC 81 ms
15,272 KB
testcase_21 AC 82 ms
15,184 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:2: warning: `*' interpreted as argument prefix
Syntax OK

ソースコード

diff #

n,*x=`dd`.split.map &:to_i;s=x.sum
p *x.map{|e|(100*n-s+e*n)/2/n}
0