結果
問題 | No.394 ハーフパイプ(1) |
ユーザー | te-sh |
提出日時 | 2017-07-27 11:40:30 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 189 bytes |
コンパイル時間 | 2,379 ms |
コンパイル使用メモリ | 155,372 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-12 21:14:27 |
合計ジャッジ時間 | 3,021 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
import std.algorithm, std.conv, std.range, std.stdio, std.string; void main() { auto s = readln.split.to!(int[]); s.sort(); writefln("%.2f", s[1..$-1].sum.to!real / (s.length-2)); }