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.
WTF!! this kata was GREAT!!!!!!
Projected me back in my 20's and series summation; math classes, and all that stuff...
This can't be since the easy version has already been approved. If solutions submitted for the easy version pass this one then it would make no sense to approve it since it's already totally spoiled by the other one. This issue cannot be solved so the kata will never be approvable. It may be disappointing, but I think it's wise that you retire kata.
The idea of splitting this kata to easy and hard versions was the assumption that the easy version can be brute forced, but the hard version is not. For example, here exist kata about prime numbers, which have a simple and more difficult version. If follow your logic, harder version must be removed too, because user which completed easy version can be smart enough for publish solution capable to pass more harder variant. I think not all users have enough experience to solve more difficult variant of kata and beginners deserve to have their own simplified version. In case if you keep insisting to delete I preffer to remove simple version and keep that, fully functional, more complex version.
Some of the solutions submitted on the easy version can pass the tests here. I don't see any point in this kata now and I suggest you to unpublish it, considering how troublesome it will be in case of approval.
Random test starts from 2^8 now. Lesser values can be easy calculated by naive solution.
7 teams will start tournament directly from part 2 (7 is odd number, part 1 will be skipped), were they must play each with other, thus 21 games will be played instead of 7, meanwhile 8 teams will 4 quadfinals, play 2 semifinals, 1 final = 7 games, just much as you need. So, here only one correct answer: 8 teams.
Second case is the same, 67108863 teams will play 2_251_799_713_021_953 games, instead of 67108863.
Tests do not seem to be working.
Failed when n = 7: expected [ 7, 8 ] to deeply equal [ 8 ]
Failed when n = 67108863: expected [ 67108863, 67108864 ] to deeply equal [ 33558528, 67108864 ]
hi
C++ translation. Please, review and approve.
Small random tests should be added.
Python translation. Please, review and approve.
Ok, I've approved as 5kyu.
Loading more items...