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.
Please tell me, which language are you using? Thanks O_o
EDIT:
Hmmm.. I guess that you're using Python..
Changed the postion of the
expected value
andactual value
. The problem has been fixed.Thank you for your feedback
^_^
I am failing some of the random tests. but if i print my value right before i return the max number of points. i get the answer it "should be" and it tells me i returned a different answer.
Here's a tip for those stuck on the "Triceratops is eating something" that should be "Something is eating something". When considering a case when food is "something", keep in mind that the food will be 3 characters long before AND after the bite marks. that's why it says "... ...". So whatever is in between the food will be the bite mark.
Thanks for the tip, i got it. I was not aware i could print out for the tests.
slight change made.
@FArekkusu: I already explained to you below how it works. It's a "moving" pattern, not a simple pattern, that's all. Nonetheless, this is a pattern!
I'm talking about the
not this case exactly. This is what is annoying, the
not-really-triceratops
case is logical at least, but the difference indead dino/something
pattern length is a joke.wtf! x) But the string MATCHES the pattern, guys. If you do not see the right pattern, it's up to you. ;o
EDIT: I'll make a slight update in the description... :p
B4B decided it to be a correct case, so whatever, although I agree that making a "universal pattern" and a string which doesn't correspond to it is totally wrong.
there is a pattern. If you don't see it because it has a small trick, it's fine. But there is.
You should respect a pattern then, a
'dead dino'
isn't respecting the'... ...'
pattern.We are already 2 people treating this case as a special case, with a simple
if (scene === 'uVuuVuuVuuu') return 'A triceratops is eating something.'
Not really, if the string length is
11
than the the string should be interpreted like this:uVu uVuuV uuu
, whereuVu
anduuu
are food, anduVuuV
is an unknown dino mark.isn't
'uVuuVuuVuuu'
supposed to return'A triceratops is eating something.'
?approved, thx.
Forked a new version with improved test suite.
Loading more items...