結果

問題 No.8001 確率論ってこういうものですよね
コンテスト
ユーザー id-ord
提出日時 2026-01-06 12:27:24
言語 C++23
(gcc 15.2.0 + boost 1.89.0)
結果
WA  
実行時間 -
コード長 165 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 5,628 ms
コンパイル使用メモリ 219,480 KB
実行使用メモリ 7,852 KB
最終ジャッジ日時 2026-01-06 12:27:30
合計ジャッジ時間 5,614 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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("{:.8f} {:.8f}",min(X,1-Y),max(.0f,X-Y));
}
0