結果
| 問題 | No.1230 Hall_and_me |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-09-22 09:22:23 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 302 bytes |
| 記録 | |
| コンパイル時間 | 438 ms |
| コンパイル使用メモリ | 93,888 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-13 23:05:26 |
| 合計ジャッジ時間 | 1,999 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 36 |
ソースコード
#include<iostream>
#include<algorithm>
#include<numeric>
#include<iomanip>
using namespace std;
int main(){
double d[3];
for(int i = 0; i < 3; i++) cin >> d[i];
double s = accumulate(d, d+3, 0.0);
cout << fixed << setprecision(12) << (s-*min_element(d,d+3))/s << endl;
return 0;
}