結果

問題 No.212 素数サイコロと合成数サイコロ (2)
ユーザー tenten
提出日時 2020-10-15 19:41:41
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 242 bytes
コンパイル時間 2,369 ms
コンパイル使用メモリ 73,640 KB
実行使用メモリ 41,428 KB
最終ジャッジ日時 2024-07-20 19:54:19
合計ジャッジ時間 4,480 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 8
権限があれば一括ダウンロードができます

ソースコード

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