結果
| 問題 |
No.394 ハーフパイプ(1)
|
| コンテスト | |
| ユーザー |
fumi6328
|
| 提出日時 | 2018-08-26 23:35:27 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 299 bytes |
| コンパイル時間 | 556 ms |
| コンパイル使用メモリ | 66,816 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-01 04:02:31 |
| 合計ジャッジ時間 | 1,126 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#include <iostream>
#include <algorithm>
#include <iomanip>
using namespace std;
int main()
{
float s[6];
for(int i = 0; i < 6; i++)
cin >> s[i];
sort(s,s+6);
cout << fixed << setprecision(2) << (s[1] + s[2] + s[3] + s[4]) / 4 << endl;
return 0;
}
fumi6328