結果
| 問題 | No.236 鴛鴦茶 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-07-07 11:01:13 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 230 bytes |
| コンパイル時間 | 663 ms |
| コンパイル使用メモリ | 75,264 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-04 06:55:57 |
| 合計ジャッジ時間 | 1,811 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 23 |
ソースコード
#include<iostream>
#include<algorithm>
#include<cmath>
#include<iomanip>
using namespace std;
int main() {
double a,b,x,y;
cin >> a >> b >> x >> y;
cout << fixed << setprecision(10) << min(x*((a+b)/a),y*((a+b)/b)) << endl;
}