結果
| 問題 | No.236 鴛鴦茶 |
| コンテスト | |
| ユーザー |
37kt_
|
| 提出日時 | 2015-09-03 18:24:31 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| + 333µs | |
| コード長 | 199 bytes |
| 記録 | |
| コンパイル時間 | 823 ms |
| コンパイル使用メモリ | 172,540 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-31 23:59:39 |
| 合計ジャッジ時間 | 2,418 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 23 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main()
{
double a, b, x, y;
scanf("%lf %lf %lf %lf", &a, &b, &x, &y);
x = min(x, y * a / b);
y = min(y, x * b / a);
printf("%.20f\n", x + y);
}
37kt_