結果

問題 No.212 素数サイコロと合成数サイコロ (2)
ユーザー metasequo
提出日時 2015-05-22 22:51:42
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 243 bytes
コンパイル時間 517 ms
コンパイル使用メモリ 65,392 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-06 05:21:33
合計ジャッジ時間 983 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <iomanip>
#include <math.h>
using namespace std;
int main(){
	int p, c;
	double d1, d2;
	cin >> p >> c;
	d1 = pow(41 / 6, p);
	d2 = pow(49 / 6, c);
	cout << fixed << setprecision(10) << (double)(d1 * d2) << endl;
}
0