結果
問題 | No.1230 Hall_and_me |
ユーザー |
![]() |
提出日時 | 2020-09-18 21:25:31 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 32 ms / 2,000 ms |
コード長 | 266 bytes |
コンパイル時間 | 1,716 ms |
コンパイル使用メモリ | 192,428 KB |
最終ジャッジ日時 | 2025-01-14 16:23:06 |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 36 |
ソースコード
#include <stdio.h>#include <bits/stdc++.h>using namespace std;#define rep(i,n) for (int i = 0; i < (n); ++i)#define Inf 1000000000int main(){double a,b,c;cin>>a>>b>>c;cout<<fixed<<setprecision(10)<<1.0 - min({a,b,c}) / (a+b+c)<<endl;return 0;}