結果
| 問題 |
No.394 ハーフパイプ(1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-02-28 22:16:11 |
| 言語 | F# (F# 4.0) |
| 結果 |
AC
|
| 実行時間 | 346 ms / 2,000 ms |
| コード長 | 299 bytes |
| コンパイル時間 | 10,800 ms |
| コンパイル使用メモリ | 184,700 KB |
| 実行使用メモリ | 35,284 KB |
| 最終ジャッジ日時 | 2024-06-12 00:33:19 |
| 合計ジャッジ時間 | 15,489 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (258 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
module Main
open System
Console.WriteLine(
Console.ReadLine().Split(' ')
|> Array.map float
|> Array.sort
|> Array.tail
|> Array.rev
|> Array.tail
|> Array.fold (fun acc x -> acc + x) 0.0
|> (fun x -> x / 4.0)
|> sprintf "%.2f"
)