結果
| 問題 | No.394 ハーフパイプ(1) |
| コンテスト | |
| ユーザー |
hirakich1048576
|
| 提出日時 | 2016-07-15 22:40:05 |
| 言語 | Ruby (4.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 137 bytes |
| 記録 | |
| コンパイル時間 | 54 ms |
| コンパイル使用メモリ | 9,216 KB |
| 実行使用メモリ | 14,976 KB |
| 最終ジャッジ日時 | 2026-05-02 22:32:13 |
| 合計ジャッジ時間 | 1,409 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 WA * 9 |
コンパイルメッセージ
Syntax OK
ソースコード
x = gets.chomp.split(' ').map{|i| i.to_i(10)}.sort
x.pop ; x.shift
score = x.reduce {|sum, n| sum + n }.to_f
score /= 4.0
puts score
hirakich1048576