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.
In python what is the best solution in terms of time? O(n)?
I have this issue as well and removing pow did not seem to fix the solution. I am confused because when I put that test case into an online compiler and used cout to get my result (with both old and new code) findNb returned 45001. Is there any other reason why the test wouldn't accept it?
Added "testequal(ASum::findNb(1025292944081384960), 45001);" to test1 and it passed.
Used cout and found that the number given in the test 6 is "1025292944081385001" which does not evaluate to 45001, correct?