結果

問題 No.394 ハーフパイプ(1)
ユーザー maimai
提出日時 2016-07-15 22:23:51
言語 Ruby
(3.3.0)
結果
AC  
実行時間 86 ms / 2,000 ms
コード長 76 bytes
コンパイル時間 393 ms
コンパイル使用メモリ 11,200 KB
実行使用メモリ 15,344 KB
最終ジャッジ日時 2023-08-05 06:24:28
合計ジャッジ時間 2,941 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,300 KB
testcase_01 AC 86 ms
15,156 KB
testcase_02 AC 83 ms
15,124 KB
testcase_03 AC 83 ms
15,184 KB
testcase_04 AC 83 ms
15,144 KB
testcase_05 AC 82 ms
15,276 KB
testcase_06 AC 82 ms
15,252 KB
testcase_07 AC 82 ms
15,264 KB
testcase_08 AC 82 ms
15,344 KB
testcase_09 AC 81 ms
15,332 KB
testcase_10 AC 82 ms
15,104 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a=gets.split.map(&:to_f).sort
a.shift
a.pop

printf("%.2f",a.inject(:+)/4.0)
0