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.
The error is presented in a bad way, but it points to a mistake in your code. It means that there is a test case where you returned
String
, but you should returnint[ ]
. Or the other way round.I re-raised an issue with some more details above. To pass the tests you need to identify a test case which fails for you and fix it.
Read the description again. * is a masked char, and the numbers in the example in the description are divisible by 6. Not a kata issue.
xoxo
<3
This comment is hidden because it contains spoiler information about the solution
learning from the best;)
Basically,
if something results in True, it needs to be returned as "True"
if something results in False, it needs to be returned as "False"
Hope that helps
What do you need explaining?
The error is originated in your code. You're doing really weird things...
callee saved registers
must have the same values at the start and at the end of your function.You must return the nth number, let's say
x
, for whichx ^ 2
's last digits are the same digits asx
. There are examples in the description that illustrate this quite well IMO.Because that's not the test your code fails, print the input properly. And don't try to read the length of
null
.An array containing
null
is not a null array.It's already there.
Why cant you check the number if it's negative?
Fixed.