結果

問題 No.394 ハーフパイプ(1)
ユーザー QtaroQtaro
提出日時 2016-07-31 20:53:57
言語 Scala(Beta)
(3.4.0)
結果
WA  
実行時間 -
コード長 167 bytes
コンパイル時間 10,793 ms
コンパイル使用メモリ 259,152 KB
実行使用メモリ 64,364 KB
最終ジャッジ日時 2023-09-12 01:08:12
合計ジャッジ時間 23,232 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 955 ms
63,392 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 979 ms
63,312 KB
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

object Main extends App {
  val sc = new java.util.Scanner(System.in)
  val score = List.fill(6)(sc.nextDouble).sorted.tail.init.fold(.0)(_ + _) / 4.0
  print(score)
}
0