結果

問題 No.8001 確率論ってこういうものですよね
コンテスト
ユーザー id-ord
提出日時 2026-01-06 12:31:50
言語 C++23
(gcc 15.2.0 + boost 1.89.0)
結果
WA  
実行時間 -
コード長 167 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 5,302 ms
コンパイル使用メモリ 219,512 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2026-01-06 12:31:56
合計ジャッジ時間 5,969 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <iostream>
#include <print>
#include <algorithm>
using namespace std;
int main(){
	float X,Y;
	cin>>X>>Y;
	print("{:.16f} {:.16f}",min(X,1-Y),max(.0f,X-Y));
}
0