結果

問題 No.394 ハーフパイプ(1)
ユーザー Michae'GonMichae'Gon
提出日時 2017-02-28 22:16:11
言語 F#
(F# 4.0)
結果
AC  
実行時間 99 ms / 2,000 ms
コード長 299 bytes
コンパイル時間 7,223 ms
コンパイル使用メモリ 165,824 KB
実行使用メモリ 27,148 KB
最終ジャッジ日時 2023-09-02 18:05:52
合計ジャッジ時間 9,424 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 98 ms
25,132 KB
testcase_01 AC 97 ms
25,104 KB
testcase_02 AC 98 ms
25,088 KB
testcase_03 AC 98 ms
25,060 KB
testcase_04 AC 99 ms
27,148 KB
testcase_05 AC 97 ms
25,008 KB
testcase_06 AC 98 ms
23,084 KB
testcase_07 AC 98 ms
25,112 KB
testcase_08 AC 99 ms
25,228 KB
testcase_09 AC 98 ms
25,228 KB
testcase_10 AC 96 ms
23,108 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

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"
)
0