結果
| 問題 | 
                            No.394 ハーフパイプ(1)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2019-07-29 13:43:32 | 
| 言語 | C++14  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 371 bytes | 
| コンパイル時間 | 1,656 ms | 
| コンパイル使用メモリ | 171,320 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-07-02 15:18:18 | 
| 合計ジャッジ時間 | 2,212 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 11 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define copy(from, to) copy(from.begin(), from.end(), back_inserter(to))
#define sort(a) sort(a.begin(), a.end())
#define input_to(a) int a_i; cin >> a_i; a.push_back(a_i);
int main() {
  vector<int> s;
  for (int i = 0; i < 6; ++i) {
    input_to(s);
  }
  sort(s);
  printf("%.2f", (s[1] + s[2] + s[3] + s[4]) / 4.0);
}