結果

問題 No.212 素数サイコロと合成数サイコロ (2)
ユーザー pluto77pluto77
提出日時 2016-03-13 13:11:35
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 5,000 ms
コード長 151 bytes
コンパイル時間 1,222 ms
コンパイル使用メモリ 7,120 KB
実行使用メモリ 6,620 KB
最終ジャッジ日時 2023-10-26 03:18:07
合計ジャッジ時間 2,017 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

# coding: utf-8
#yuki_212

p,c=map(int,raw_input().split())

pp=1.0*(2+3+5+7+11+13)/6
pc=1.0*(4+6+8+9+10+12)/6

res=(pp**p)*(pc**c)
print "%.9f" % res
0