24
Juge_Ti
4 20 28
3007/ 3445
Juge Ti
Last seen 7 years ago
Member for 10 years, 8 months, 10 days
Difficulty Normal
Best reviews / Newest reviews
First-madmanbob 2 1
You can get the general formula by using your transition matrix : Let m be the total number of pearls. Let U(n) be the vector whose kth coordinate is the probability of having k white pearls in the nth step. We have U(n+1) = T * U(n) where T is your transition matrix. Then the probability p More
Generatingfunctionology-veky 1 1
I guess we have the same source ;-) More
Spherical > Flat > Nested-veky 1 1
I didn't even know function annotations existed in Python. Actually I didn't know about endswith or float.__mul__ either - seems there's always something to learn in your solutions (I know you like flattery ;)). More
Hund rule-Amachua 1 1
Hello ! You're no longer alone here ! ;) Yrf cebtenzzrhef Senapnvf fbag yrf zrvyyrhef ! More
First-Anne29 1
Well, I have to admit that yours is bigger than mine... And nice score with pep8.py : 2609 errors ! More
Recursion-bryukh 2
I was not satisfied with my very slow first solution, so I wrote a recursive one too. I tested to see which one is faster, yours or mine : I win 3 to 1 ;) By the way, thanks for all the cool tasks you propose ! I am having much fun with them ! More
First-CALLEBAUT
Good evening, my young padawan. Congratulations for solving this task which is not easy for a beginner. You can give a look at my own solution here : http://www.checkio.org/mission/golden-pyramid/publications/Juge_Ti/python-27/first/ Some comments : 1) There are coding conventions for the Python More