結果
問題 | No.212 素数サイコロと合成数サイコロ (2) |
ユーザー |
![]() |
提出日時 | 2017-07-05 00:23:24 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 176 bytes |
コンパイル時間 | 1,539 ms |
コンパイル使用メモリ | 164,508 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-05 16:23:47 |
合計ジャッジ時間 | 2,142 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 |
ソースコード
#include <bits/stdc++.h> using namespace std; const int inf=1e9; int main(){ int P,C; cin>>P>>C; double ans=pow(41/6.0,P)*pow(49/6.0,C); printf("%.10lf",ans); return 0; }