49
Sim0000
23 50 65
24385/ 25141
Last seen 5 hours ago
Member for 10 years, 4 months
Difficulty Normal
from Japan. hobby programmer. start Python from CheckiO.

Best reviews / Newest reviews
First-natsuki 1
You can int instead of floor. More
First-natsuki 1
Using set to remove overlap, cool! More
First-coells
Great! Fermat test with 3, 5, 7. More
Recursive-Sim0000
The portion of code below x and f(x[0]) + f(x[1:]) is same as following. [] if x == [] else f(x[0]) + f(x[1:]) More
All Math-macfreek
Thank you for the detailed explanation. More
One liner 2nd-Sim0000 1
A little shorter count_gold=f=lambda p,n=0,x=0:n-len(p)and p[n][x]+max(f(p,n+1,x),f(p,n+1,x+1)) More
iter-Sim0000
I was able to improve the code, thanks to the valuable advice. The old code is here. http://www.checkio.org/mission/min-max/publications/Sim0000/python-3/first/ More
With exceptions too-macfreek
You can use 'for arg in args' instead of 'try, next, while'. More
First-Wei5
Nice hacking! In my local PC, this trick doesn't work. This is because Python 3.3.4 doesn't have \_\_import\_\_.\_\_globals\_\_. CheckiO uses Python 3.3.2. More
First-Jiyoqisv 1
It is not good, because test cases are directly included. More
translate-Sim0000
I can write more simple. See revised version http://www.checkio.org/mission/striped-words/publications/Sim0000/python-3/translate-2/ . More
Second-Sim0000
I should use {a, b} instead of set([a, b]). More
Generatingfunctionology-veky 1
Great generating function! It's quite fast :-) More
recursive4-ciel 1
You can save 1 char by using s[0]>' ' :-) More
log then Newton-Sim0000
Thanks veky. This version is faster than old one. Here is old version http://www.checkio.org/mission/super-root/publications/Sim0000/python-3/newton-method/ . More
First-aotus
I see what you say. Single function solution :-) More
First-ArchTauruS 1
Good. BTW, you don't need [ ]. More
First-roman.maksymiv 1
Nice. You can use eval() such as follows. return eval(operation+'(x,y)') More
Arithmetic-Sim0000
We can use x+y-x*y as x|y instead of x+y>0. More
First-aotus
same as [mine](http://www.checkio.org/mission/boolean-algebra/publications/Sim0000/python-3/dict/) :-) More
1 2
3
4 5 6 7