結果
問題 | No.394 ハーフパイプ(1) |
ユーザー | basie23 |
提出日時 | 2016-11-25 01:00:33 |
言語 | Ruby (3.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 102 bytes |
コンパイル時間 | 97 ms |
コンパイル使用メモリ | 11,396 KB |
実行使用メモリ | 15,272 KB |
最終ジャッジ日時 | 2023-08-18 07:13:29 |
合計ジャッジ時間 | 1,863 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | AC | 81 ms
14,992 KB |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | AC | 80 ms
15,132 KB |
testcase_10 | WA | - |
コンパイルメッセージ
Syntax OK
ソースコード
s = gets.chomp.split(" ").map(&:to_i) s = s.sort score = (s[1] + s[2] + s[3] + s[4]) / 4.0 puts score