結果
問題 | No.394 ハーフパイプ(1) |
ユーザー |
|
提出日時 | 2020-06-22 17:39:06 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 31 ms / 2,000 ms |
コード長 | 346 bytes |
コンパイル時間 | 888 ms |
コンパイル使用メモリ | 113,376 KB |
実行使用メモリ | 28,100 KB |
最終ジャッジ日時 | 2024-07-03 18:43:40 |
合計ジャッジ時間 | 1,878 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Linq; namespace _0394 { class Program { static void Main(string[] args) { var n = Console.ReadLine().Split().Select(x => int.Parse(x)).ToArray(); var s = n.Sum() - n.Min() - n.Max(); Console.WriteLine(string.Format("{0:F2}",s * 1.0 / 4)); } } }