結果

問題 No.212 素数サイコロと合成数サイコロ (2)
ユーザー 👑 yumechiyumechi
提出日時 2015-05-23 17:31:10
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 161 bytes
コンパイル時間 155 ms
コンパイル使用メモリ 10,724 KB
実行使用メモリ 7,992 KB
最終ジャッジ日時 2023-09-20 10:54:12
合計ジャッジ時間 1,292 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 15 ms
7,960 KB
testcase_05 AC 16 ms
7,964 KB
testcase_06 AC 15 ms
7,896 KB
testcase_07 AC 16 ms
7,820 KB
testcase_08 AC 16 ms
7,788 KB
testcase_09 AC 16 ms
7,816 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

P, C = map(int, input().split())
exps = (sum([2,3,5,7,11,13]) / 6)** P if P > 0 else 0
expg = (sum([4,6,8,9,10,12]) / 6) ** C if C > 0 else 0
print(exps * expg)
0