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.
Can't help without seeing your code.
Not an issue.
Hi KsanfFillum!
How would a Texas Hold'em Poker kata be different than this one? In the end, the same rules apply to determine the winning hand. It would only make sense if you created a full poker game, betting and folding included.
Hi, thanks for spending your time on my kata! I think that I do not fully understand your suggestion... :)
Hi, my apologies for the late reply,
As @7nik said you have to maximize first for 2 then 3, 4, 5....
I had changed the description to show this after @nickie's comment below though it seems a subsequent approval of a translation reverted it back to the original.
I've changed the description again, could you please check it and see if it's clearer now.
side point: 242 = 576 : )
Previous issue about the this problem. At first you need find maximum power of 2 for given number then maximum power of 3 for rest of the number then maximum power of 4 for next rest of the number and so on.
Your code fails in these tests:
Your logic is not right.