結果

問題 No.212 素数サイコロと合成数サイコロ (2)
ユーザー 👑 KazunKazun
提出日時 2020-06-10 15:36:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 75 ms / 5,000 ms
コード長 133 bytes
コンパイル時間 631 ms
コンパイル使用メモリ 87,268 KB
実行使用メモリ 71,788 KB
最終ジャッジ日時 2023-09-05 10:46:48
合計ジャッジ時間 1,900 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,524 KB
testcase_01 AC 74 ms
71,788 KB
testcase_02 AC 73 ms
71,344 KB
testcase_03 AC 75 ms
71,400 KB
testcase_04 AC 74 ms
71,392 KB
testcase_05 AC 75 ms
71,532 KB
testcase_06 AC 73 ms
71,496 KB
testcase_07 AC 74 ms
71,356 KB
testcase_08 AC 74 ms
71,144 KB
testcase_09 AC 75 ms
71,392 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import log,exp

P,C=map(int,input().split())

A=[2,3,5,7,11,13]
B=[4,6,8,9,10,12]

print((sum(A)**P*sum(B)**C)/(6**(P+C)))
0