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.
actually FirstComp had no reason at that particular moment, but anyways the comp was starting at 0. I didnt recall that b was always going to be squared array. Thank you, figured it out.
What's
firstComp
for? You're not checking for the same multiplicity. And the numbers onb
should be the numbers ona
, squared.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Yep, my fault.
You're welcome, make sure you see other's code and check how they solved it.
This comment is hidden because it contains spoiler information about the solution
You should use your vars inside your function, and use parameters in your functions. I think your problem is there (sum will have the added value of a lot of tests, it's never initialized).
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution