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.
Yea, but it has shown error in line 106? Right? I have only about 20 lines at all. That's why I don't understand..
Hi, Guys! I am newbie to JS, so, please, don't judge me harsh, I got such an error (see below), when I was testing my solution for this kata here.
Can you please, give me, right direction... what is it about? Thank you.
/home/codewarrior/index.js:106
});
^
SyntaxError: Unexpected token )
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at [eval]:1:1
Yeah, I see now, it was my fault, I take samples for my own testing inside IDE and didn't pay attention for assert properties. Thanks.
This comment is hidden because it contains spoiler information about the solution
It was my bug, sorry. Everything works ok, except the ambiguity about years range. Thank you.
Hi, in Ruby's description also mention that years are in range 1583 - 4000! As far as I understood it's not true? I have a strange mistake there in last test, but all other tests did perfectly. Could you check it, please?
This is wrong solution, but it goes through all tests!
This comment is hidden because it contains spoiler information about the solution
You are right! Thank you!
+----------+
|>A B<|
| / D |
| D B | => All enemies are defeated: ['A', 'B', 'B', 'D', 'D'] (Notice the repeated enemies)
| |
|\ < > /|
+----------+
Are you sure? Because there are many tests with double strike like this:
+------+
| C |
|v A A|
| |
|\ <|
+------+
['A', 'C'] should equal ['A', 'A', 'C']
m = [
'AvB',
'>E<',
'C^D'
]
Maybe "E" must be hit 4 times here?
This comment is hidden because it contains spoiler information about the solution
All I can say for the next fighters: there is a solution with a performance 00.05 sec for 10M test. And this solution is amazing and simple. So don't give up as I did! )) but for now more then 50% from winners have 1dan or 1kyu and first time here I've found more then 5 solutions with cheater tricks )) you will see it later in solutions folder! )) This is very very funny!
This is amazing! )))
And I like a fool made a whole list of palindromes, when need just had to search among the sums! )) cool!
Loading more items...