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.
Damn it, you're right. I feel like an idiot now... I tried verifying that it really equals this value by dividing it by 2^85, and the calculator returned 1. I didn't think about how it must have been rounded up or down, because it's such a large number. Must have been the issue with my code too, so thanks for the help!
Wait, how can an odd number be a power of two
Some of the tests with large numbers are incorrect. For example 38685626227668133590597629 is exactly 2^85, yet the test expects False to be returned
This comment is hidden because it contains spoiler information about the solution
Can you please create a C++ version of this kata?
anyone ˶ᵔ ᵕ ᵔ˶
add new c# version with log2 plz (ㅅ´ ˘ `)
Nice Kata - appears simple but the large numbers cause some great alternative thinking on the python solutions. Thank you
Can't get past the high numbers! Timing out
Same
Yeah, python get run time error
Python is too slow for this kata
Please review: C++ Translation
This comment is hidden because it contains spoiler information about the solution
No, you're wrong:
2 ** 74 = 18889465931478580854784
https://www.wolframalpha.com/input?i=2+**+74
Loading more items...