結果

問題 No.212 素数サイコロと合成数サイコロ (2)
ユーザー tentententen
提出日時 2020-10-15 19:41:41
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 242 bytes
コンパイル時間 2,094 ms
コンパイル使用メモリ 70,744 KB
実行使用メモリ 56,156 KB
最終ジャッジ日時 2023-09-28 01:17:20
合計ジャッジ時間 3,768 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 108 ms
55,628 KB
testcase_01 AC 107 ms
55,592 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		int p = sc.nextInt();
		int c = sc.nextInt();
		System.out.println(Math.pow(41 / 6.0, p) * Math.pow(49 / 6, c));
	}
}
0