22
coells
9 21 32
2773/ 2945
Last seen 3 years ago
Member for 10 years, 1 month, 5 days
Difficulty Normal
Best reviews / Newest reviews
First-coells 3 1
Good news everyone! The very first solution I have no idea why it works... -- Hubert J. Farnsworth More
direct calculation-Sim0000 1
Very nice decision making at #8 to avoid clamps! More
gcx11_es/7-gcx11 1 1
For string input it is easier to use function eval() (line #14-20) x,y,z = eval(data) In Python 3 you don't have to convert to float explicitly since a/b results by default to float (line #15-20). Therefore m,n,r will always be float. For result string it is '{0:g}'.format() that you ha More
Partial-veky 1 1
veky ~ bottomless well full of surprises More
Complex-Talim42 1 2
I just finished reading of HARLIE2.0 by D.Gerrold, your exec*n kinda reminds me of HARLIE More
pbs-veky 1
ROFL, I came through 10+ best solutions and yours is the only one to solve diofantic equation. Nice. More
Objection-veky 1
So this is how code-review looks like :-D At least you re-used ASCII from the original. ;-) More
switch-veky 1
Hmm, if this was an online test, our solutions would be marked as exact copies, that would be bad... More
Get outa here-veky 1
I have noticed before that you're using exceptions to handle conditions, mostly for fun, I guess. Why in this case? While cycle would be way easier. More
First-Talim42 1
We have pretty close ideas about solutions. Line 5 might be simplified this way. args = {(arg % min_arg or min_arg) for arg in args} More
First-Slepice1 2
Lines #7-8 can be simplified using tuple assignment first_name,second_name = relation.split("-") Even better, you can unpack tuple to simplify lines #7-9 add_names_to_map(*relation.split("-")) Lines #30-32 are same as simple return False. Also relations_map should not be a global va More
First-coells 1
Solution made for Veky - finally I'm using sum(list, []). ^o^ More
MoreMathsLessRecursion-SimonMontford 1
Your solution is actually same as mine except for estimation of value of n. I only wonder why did you choose top\_n=num\*\*0.5? If you look at triang\_sum(), you could use finer value of top_m=(num\*6)**(1/3) instead. Lambda keyword should also be preferred in case of your inner functions. More
First-coells 1
Inspired by Haskell infinite structures I had to solve problem with very limited recursion depth ... and solved it! Not a singe directive, only lambdas allowed. More
Assignment-veky 1
Nice bisect implementation. Any reason to use abs(f(x)) instead of I1-I0? More