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.
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
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....
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. :)
This comment is hidden because it contains spoiler information about the solution
In the third basic test isn't it supposed to be 34 and not 33?