結果
| 問題 | No.8001 確率論ってこういうものですよね |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2014-12-26 00:02:56 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 211 bytes |
| 記録 | |
| コンパイル時間 | 486 ms |
| コンパイル使用メモリ | 50,300 KB |
| 実行使用メモリ | 7,716 KB |
| 最終ジャッジ日時 | 2026-03-05 19:11:51 |
| 合計ジャッジ時間 | 686 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 WA * 7 |
ソースコード
#include <cstdio>
#include <algorithm>
using namespace std;
int main()
{
double x, y;
scanf("%lf%lf",&x,&y);
double ma, mi;
ma = max(1-y,x*(1-y));
mi = min(1-y,x*(1-y));
printf("%lf %lf\n", ma, mi);
return 0;
}