結果

問題 No.212 素数サイコロと合成数サイコロ (2)
ユーザー mkawa2mkawa2
提出日時 2020-01-22 18:43:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 15 ms / 5,000 ms
コード長 742 bytes
コンパイル時間 159 ms
コンパイル使用メモリ 10,580 KB
実行使用メモリ 7,856 KB
最終ジャッジ日時 2023-09-22 20:41:55
合計ジャッジ時間 983 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,856 KB
testcase_01 AC 15 ms
7,828 KB
testcase_02 AC 15 ms
7,716 KB
testcase_03 AC 15 ms
7,736 KB
testcase_04 AC 15 ms
7,776 KB
testcase_05 AC 15 ms
7,776 KB
testcase_06 AC 15 ms
7,704 KB
testcase_07 AC 14 ms
7,704 KB
testcase_08 AC 15 ms
7,688 KB
testcase_09 AC 15 ms
7,824 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

ans=[[1.0, 8.166666666666666, 66.69444444444444, 544.6712962962963, 4448.148919753086, 36326.54951131687], [6.833333333333333, 55.80555555555556, 455.7453703703704, 3721.920524691358, 30395.684284979423, 248231.4216606653], [46.69444444444444, 381.337962962963, 3114.2600308641977, 25433.123585390946, 207703.84261402607, 1696248.0480145463], [319.0787037037037, 2605.809413580247, 21280.776877572018, 173793.01116683814, 1419309.5911958448, 11591028.3280994], [2180.3711419753085, 17806.364326131687, 145418.6419967421, 1187585.5763067272, 9698615.539838273, 79205360.24201256], [14899.202803497943, 121676.8228952332, 993694.0536444044, 8115168.104762636, 66273872.85556153, 541236628.3204192]]
p,c=map(int,input().split())
print(ans[p][c])
0