Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
you don't need a function, plain select is possible; check solutions by @monadius or me ;)
When doing the SQL version it was not clear that it was a function that took in a paramater. Did a select clause with no luck.
I find that my solution gives the following error message on Big Random Tests:-
ValueError: Exceeds the limit (4300) for integer string conversion
For example, this happens with n = 878173. When I test this on my computer it returns a value which has a length
of 107246. I don't have a string conversion in my solution so must assume that it is something in your test harness.
Chris
Lambda Calculus translation
approved a long time ago
obsolete
approved some time ago :)
recursion is too inefficient for this problem. you are calculating the same terms numerous times
Good day! I solved this task in recursive. Test is passed, but when I press button "Submit" I get error about timeout.
has been approved
Ok
You must return a
BigInt
.BigInt
does not have exponential notation.fixed + added note in initial solution
what does that mean ? give more details
recursion is very inefficient for that problem. not a kata issue
Loading more items...