結果

問題 No.3001 確率論ってこういうものですよね
ユーザー ぴろずぴろず
提出日時 2014-12-25 22:13:40
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 254 bytes
コンパイル時間 4,670 ms
コンパイル使用メモリ 71,708 KB
実行使用メモリ 57,596 KB
最終ジャッジ日時 2023-09-03 17:34:54
合計ジャッジ時間 5,051 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 142 ms
56,944 KB
testcase_01 AC 151 ms
57,596 KB
testcase_02 AC 155 ms
56,876 KB
testcase_03 AC 156 ms
57,116 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

package b;

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double x = sc.nextDouble();
		double y = sc.nextDouble();
		System.out.println(x*(1-y) + " " + x*(1-y));
	}

}
0