結果
| 問題 |
No.212 素数サイコロと合成数サイコロ (2)
|
| コンテスト | |
| ユーザー |
yaoshimax
|
| 提出日時 | 2015-05-24 19:20:13 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
MLE
|
| 実行時間 | - |
| コード長 | 323 bytes |
| コンパイル時間 | 1,434 ms |
| コンパイル使用メモリ | 76,732 KB |
| 実行使用メモリ | 830,268 KB |
| 最終ジャッジ日時 | 2024-07-06 08:03:58 |
| 合計ジャッジ時間 | 5,257 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 MLE * 1 -- * 4 |
ソースコード
P,C=map(int,raw_input().split())
V=[1]
for i in range(P):
nextV=[]
for p in (2,3,5,7,11,13):
for v in V:
nextV.append(v*p)
V=nextV
for c in range(C):
nextV=[]
for p in (4,6,8,9,10,12):
for v in V:
nextV.append(v*p)
V=nextV
print "%.9f"%(sum(V)/pow(6.0,C+P))
yaoshimax