結果

問題 No.394 ハーフパイプ(1)
ユーザー mencottonmencotton
提出日時 2017-12-27 17:40:33
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 337 bytes
コンパイル時間 1,966 ms
コンパイル使用メモリ 104,088 KB
実行使用メモリ 23,940 KB
最終ジャッジ日時 2023-08-23 07:16:42
合計ジャッジ時間 3,679 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
23,932 KB
testcase_01 AC 62 ms
19,852 KB
testcase_02 AC 63 ms
21,768 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 65 ms
21,992 KB
testcase_07 WA -
testcase_08 AC 65 ms
23,940 KB
testcase_09 WA -
testcase_10 AC 63 ms
19,832 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;

namespace Test
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
            Console.WriteLine(((x.Sum() - x.Max() - x.Min()) / 4).ToString("F2"));
        }
    }
}
0