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.
Indentation is off because you confound quotes an backquotes (or backticks). You could have googled that:-)
I tried your solution which gives false results:
For n = 841 your solution returns:
(2)(29**2)
which is clearly false since 841 is not even.For n = 479803 you return
(2)(23**2)(907)
which is false for the same reason. It seems that this solution of yours has too many2
as factors...PS: I lost lots of time but, nevertheless, cheers!
I just saw this post of yours. The input is
841
. Your code returns(2)(29**2)
which is false since the correct result is(29**2)
;(29 * 29 is 841)
.I just tried. For input
1348934
my reference solution returns the correct result(2)(31)(21757)
. 14 guys passed the Go kata so if there were errors somebody would have seen them. You can post your code if you want between 3 backticks at the beginning and three others at the end, correctly indented and marked as spoiler.Please which language? Which input?