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.
I think your issue is you're getting stuck in an infinite while loop when the solution doesn't reduce to 0. The random tests include random numbers that won't necessarily reduce to 0 and should return false.
Hope that helps!
This comment is hidden because it contains spoiler information about the solution
it was indented when i pasted
now i know! thanks! i always wondered what the hidden comments were.
just use the spoiler flag, that the tool for that. ;)
EDIT: too late ;)
But use indentation so that your code is readable.
This comment is hidden because it contains spoiler information about the solution
what's the best way to show you outside of posting here? i don't want to post any spoilers for those still working.
Could you post your solution so I could try and replicate your problem? Thanks!
do not expect any upper bound, act like if it might be infinite.
i'm drawing a blank regarding how to know what our upper limit is for this problem. i have created my code based on a loop limit of 122, as i mthe example, which i used as a placeholder so i could at least get started. my code works fine for the test cases where the convergence number happens before that, i'm just a little stumped. any clues or assistance would be much appreciated!
all my tests pass, but i fail, getting the message "Process was terminated. It took longer than 12000ms to complete". not sure why this is happening.
ah, I see now, could have been a little more clear, but understood
something must be wrong in the creators code, i guess we'll just have to wait until it's fixed
I changed 11 to 22 in the sample test sections, so I passed that... but when I "attempt" to submit, there are many case where my answer is correct but the code "expects" whatever my answer is divided by 2, sam as the 11/22 issue
I was going to post the same thing
Loading more items...