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.
I'll mark this as resolved.
I already told you how you get the number, it's not using all the arguments. See the last example.
Result should be made from nums of the product or it should any number be up to the product?
But there is no "8"s in 451165470, or maybe I misunderstood the kata
8510158 is greater than 5417145, isn't it?
7 * 23 * 87 * 32210 = 451165470, you missed 87
Why do you think it's an error?
7 * 23 * 32210 = 5185810 and that can be rearranged to 8510158 there is no error.
I think there are errors in tests:
Testing for 7, 23, 87, 32210 -> expected 5417145 to equal 8510158
Can't stop laughing😂:
"your code length = 52: expected 'code length >= 52' to equal 'code length < 52'"
Greate job👍
Thank you, xDranik, for this amazing kata😊
You most probably have some syntax error, and most probably it's located in a line preceding the
if
or somewhere around.You might have too many semicolons, or some mismatched brace, but it's difficult to tell exactly, without seeing your code.
if (parseInt(str2) > 9_007_199_254_740_991) {
^
SyntaxError: Invalid or unexpected token ;
Why is that?