結果
| 問題 |
No.394 ハーフパイプ(1)
|
| コンテスト | |
| ユーザー |
a01sa01to
|
| 提出日時 | 2023-12-03 00:17:14 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 435 bytes |
| コンパイル時間 | 2,030 ms |
| コンパイル使用メモリ | 195,496 KB |
| 最終ジャッジ日時 | 2025-02-18 06:26:46 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 WA * 9 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#ifdef LOCAL
#include "settings/debug.cpp"
#define _GLIBCXX_DEBUG
#else
#define Debug(...) void(0)
#endif
#define rep(i, n) for (int i = 0; i < (n); ++i)
using ll = long long;
using ull = unsigned long long;
int main() {
vector<int> a(6);
rep(i, 6) cin >> a[i];
sort(a.begin(), a.end());
cout << double(accumulate(a.begin() + 1, a.end() - 1, 0.0)) / 4 << endl;
return 0;
}
a01sa01to