結果

問題 No.212 素数サイコロと合成数サイコロ (2)
ユーザー tobusakanatobusakana
提出日時 2022-10-27 00:44:30
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 75 ms / 5,000 ms
コード長 145 bytes
コンパイル時間 654 ms
コンパイル使用メモリ 87,096 KB
実行使用メモリ 71,844 KB
最終ジャッジ日時 2023-09-17 17:56:17
合計ジャッジ時間 2,191 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,388 KB
testcase_01 AC 73 ms
71,608 KB
testcase_02 AC 72 ms
71,616 KB
testcase_03 AC 73 ms
71,844 KB
testcase_04 AC 72 ms
71,704 KB
testcase_05 AC 72 ms
71,440 KB
testcase_06 AC 72 ms
71,528 KB
testcase_07 AC 73 ms
71,760 KB
testcase_08 AC 74 ms
71,600 KB
testcase_09 AC 72 ms
71,688 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

p_num = (2,3,5,7,11,13)
c_num = (4,6,8,9,10,12)

P,C = map(int,input().split())
p = sum(p_num) / 6
c = sum(c_num) / 6

print((p ** P) * (c ** C))
0