結果

問題 No.3001 ヘビ文字列
ユーザー gew1fw
提出日時 2025-06-12 12:55:34
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 130 bytes
コンパイル時間 354 ms
コンパイル使用メモリ 82,548 KB
実行使用メモリ 91,360 KB
最終ジャッジ日時 2025-06-12 13:00:55
合計ジャッジ時間 24,905 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 4
other RE * 83
権限があれば一括ダウンロードができます

ソースコード

diff #

x, y = map(float, input().split())

max_p = min(x, 1 - y)
min_p = max(x - y, 0.0)

print("{0:.11f} {1:.11f}".format(max_p, min_p))
0