結果
問題 |
No.8001 確率論ってこういうものですよね
|
ユーザー |
![]() |
提出日時 | 2018-03-22 02:52:08 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 247 bytes |
コンパイル時間 | 1,416 ms |
コンパイル使用メモリ | 157,988 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-24 19:56:06 |
合計ジャッジ時間 | 2,007 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 WA * 6 |
ソースコード
#include<bits/stdc++.h> using namespace std; using ll = long long; int main() { ios::sync_with_stdio(false), cin.tie(0); double x, y; cin >> x >> y; cout << fixed << setprecision(10) << max(x - y, .0) << " " << min(x, 1 - y) << endl; }