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.
Lua translation
Kotlin translation (author is gone)
598183307 as random test in haskell. This is 9 chars, no Xs, no invalid chars. Product with positions are [5,18,24,4,40,18,21,0,63] and sum is 193 which is not divisible by 11 so mod is not 0. Random tests still failing
This comment is hidden because it contains spoiler information about the solution
C++ translation (author gone)
great problem!
Would love to see a follow up problem to this one maybe something like getting assembly (or some kind of bytecode) as input and the goal is to produce a readable expression like:
input:
AR 0 SW IM 2 MU SW IM 1 SUoutput:
[a] 1-a*2(this wouldn't be a 1kyu problem but it would be fun :) )
duplicate
https://www.codewars.com/kata/54cf4fc26b85dc27bf000a6b
I feel like it should be mentioned in the problem Statement that not only you have to check if the numbers lign up, but also if the string is the exact lenght, contains ivalid characters etc.
Am I being stupid here?
I think I've solved this, but I'm getting the following test failure in PHP:
It should equal 3, not 1, right?
JavaScript, CoffeScript: no random tests
C# Translation
Missing fixed tests for strings using
"as placeholders in (present in Python && PHP)JS
Ruby
This comment is hidden because it contains spoiler information about the solution
Hey all! I made a Julia translation. Would appreciate it if any reviewers who are fellow Julia fans could take a look.
Dart issues:
print()statements aren't shown at all (is it somehow disabled?)a,bandnas methods, but they are defined as getters (?)Loading more items...