結果
| 問題 |
No.236 鴛鴦茶
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-01-06 06:01:34 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 3 ms / 2,000 ms |
| コード長 | 250 bytes |
| コンパイル時間 | 540 ms |
| コンパイル使用メモリ | 72,500 KB |
| 最終ジャッジ日時 | 2025-01-08 16:26:23 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 23 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
typedef long long int ll;
int main(){
cin.tie(nullptr);
ios::sync_with_stdio(false);
double a,b,c,d; cin >> a >> b >> c >> d;
printf("%.8f\n",(a+b)*min(d/b,c/a));
}