結果

問題 No.394 ハーフパイプ(1)
ユーザー pirorirori_n712
提出日時 2018-06-27 01:24:11
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 35 ms / 2,000 ms
コード長 271 bytes
コンパイル時間 940 ms
コンパイル使用メモリ 113,988 KB
実行使用メモリ 28,452 KB
最終ジャッジ日時 2024-06-30 23:02:57
合計ジャッジ時間 1,919 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11
権限があれば一括ダウンロードができます
コンパイルメッセージ
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.Linq;

class No394{
    static void Main(){
        var i=Console.ReadLine().Split(' ').Select(x=>Int32.Parse(x)).OrderBy(x=>x).ToArray();
        var s=string.Format("{0:0.00}",(i[1]+i[2]+i[3]+i[4])/4.00);
        Console.WriteLine(s);
    }
}
0