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 have same issue, can you please help me to undertand on how to get 33 and not 34
Much apperciated!
Didn't see that either
Look :-)
Look :-)
Could there be a problem with test 6 in the c++ version. Beacause when i try my program in dev c++ and i input the corresponding volume(1025292944081377280) of the solution(45001) it works. So i tought myself that there could be a problem. Please help.
0
Well, the only thing to resolve your problem is to show your code, otherwise we can only guess and wonder. Or at least your logic behind it.
I know that my code could be inefficient, but the logic is not really complicated to be that slow and inefficient. Like it is 59 lines with three for's and two if statements. I am sure I have made more complicated logics that don't take so much time even with the random tests.
It's just,... I don't know what i can optimize....
Your solution is very likely to be running an infinite loop.
It's not necessarily that your loops are infinite, more likely your code is inefficient. Random test are often extensive and resource-consuming, so odds are you need to refactor and optimize your code. That's the safest bet without knowing the code.
I have a problem. When I press run sample tests everything is ok and tests pass, but when i attempt it says that i runned out of time, so that means to me that my loops are going infinite. I wanna know how in some tests the loops are ok and in others they are infinite. Or maybe it times out for a diffrent reason, I don't know. Will appreciate every help.
Thanks for the help. I didn't saw that. Now I'll try again. :)
There is enough information in the description. Review it and imagine the scenario.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...