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.
Sorry my bad i had some code commented out and because of that it was failing the some keywords are prohibited test.
The start of the code is not counted in the limited part
.
is not prohibited.:
is considered condition shorthand.I think
.
is also prohibited i am using Math functions and it's still failing keywords test.This kata suffers from the same kind of problem as the other version that got retired: Secret rules that aren't mentioned in the instructions and cause the user's submission to fail with a deceitful rejection message. If it's like the other version's problem where the user is secretly obligated to begin their code with an arbitrary expression that contains explicitly forbidden characters, that's doubly bad.
any of <including
,
>but you can use a dot, I think.
But see above - do not edit the function header.
Also - litle sense in using dot, now that it got retired.
So we're not allowed to use multiple things not mentioned in the instructions, but we're also secretly obligated to start our code with an arbitrary expression that does contain explicitly forbidden things? This kata is completely unready for publishing.
How about
.
and,
?I'm not using any of the forbidden chars, and it still doesn't pass the anticheat, is there anything else forbidden and not mentioned?
Yep,
:
is prohibited.Any of
<=>!?:,\
, as well asif
,&&
and||
, are.You disallow
,
without telling us ?!? :OAlso, I normally take out those spaces in the arguments.
You really, really have to be very careful to specify things if you don't want to just make it terribly frustrating and effecively a mind-reading exercise. Which it is, now.
I am solving this with the help of simple object, i am not using any of prohibited character why keywords test fails ?
is
:
is prohibited ?The description is still unclear on what is and is not forbidden.
Is it
&
(bitwise operator) or only&&
(logical operators)? Is it|
(bitwise operator) or||
(logical operator) only? Is it===
, or==
(comparisons) or=
(variable definition, or whatever it's called) in the whole?I know these from seeing the tests, but should other users attempt your kata only to understand what limitations you try to enforce?
Allowing square brackets was a mistake.
Your katas are identical. I can see that your solutions for them are different, but with a correct approach (like mine or Unnamed's) it doesn't matter whether there're 2, 3, or infinite amount of arguments - it will always come down to copy-pasting the same piece of code for the right amount of inputs.
Loading more items...