Ad
  • Default User Avatar

    Your second "Test" case contains the following input string:
    ';) >( :D :) :D :D :) ^.^ :D :) ^.^ :D :D :D >:C >( :D :D :( :D :D :D :D :) :/ :D :) :) >:C >:C'

    It translates to "Hello wohd!" not "Hello world!"

  • Default User Avatar

    Thanks for the clarification.

  • Default User Avatar

    I don't understand the results of the following five "Edge cases" as I believe in all cases that the Black King is in checkmate.

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['Q', 'W', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', 'B', '0', '0', '0', '0', '0', '0']

    Black King= [7, 1] White King= [5, 1] White Queen= [5, 0]
    True should equal False

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', 'Q', '0', '0', '0', 'W', '0']

    ['0', '0', '0', '0', 'B', '0', '0', '0']

    Black King= [7, 4] White King= [6, 6] White Queen= [6, 2]
    True should equal False

    ['0', '0', '0', '0', '0', 'B', '0', '0']

    ['0', '0', '0', 'W', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', 'Q', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    Black King= [0, 5] White King= [1, 3] White Queen= [2, 6]
    True should equal False

    ['B', '0', 'W', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', 'Q', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    Black King= [0, 0] White King= [0, 2] White Queen= [2, 1]
    True should equal False

    ['0', '0', '0', '0', 'B', '0', '0', '0']

    ['0', '0', 'W', '0', '0', '0', 'Q', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    ['0', '0', '0', '0', '0', '0', '0', '0']

    Black King= [0, 4] White King= [1, 2] White Queen= [1, 6]
    True should equal False

  • Default User Avatar

    It appears that one of the expected answers for one of your tests is wrong. When n=6, you are currently looking for an answer of "1089".

  • Default User Avatar

    I agree with dfhwze's comments below.

    Here are my suggestions:

    • In your Description, you need to define what it means for two "angles" to be perpendicular or parallel. I mistakenly assumed that you wanted us to anchor one of the lines (or rays) from each of the angles with the vertex at the origin (x=0, y=0) and along the x-axis. I then assumed that you wanted us to determine whether the angle formed by the second lines (or rays) were either parallel or perpendicular with each other. Based on the kata results however, a difference of 270 degrees is not considered to be "perpendicular angle".
    • In the "Task" section of your Description you state: "You must determine whether the two angles or parallel or perpendicular". The first "or" should be "are"
    • In the "Good to Know" section of your Description you state: "180 degrees = 2pi". This should be changed to either "360 degrees = 2pi" or "180 degrees = pi".
  • Default User Avatar

    Thank you for the clarification

  • Default User Avatar

    For your Test #11 (refer to the grid below), I received the following error message: "r2c2=1 is not a valid hidden single: expected false to be true". Can you please explain why this is not a valid hidden single? If you look at the upper left 3x3 block, the middle field in the second row cannot contain a 2 (in the same 3x3 block), a 3 (in the same 3x3 block, a 4 (in the same column), a 5 (in the same 3x3 block), a 6 (in the same column), a 7 (in the same row), an 8 (in the same row), or a 9 (in the same 3x3) block. For that reason, the value of r2c2 can only contain a 1. Thanks in advance for your feedback.

    2 5 8 | . . . | . . .

    . . . | 5 8 . | . 7 .

    3 . 9 | . 4 . | . . .

    ------+-------+------

    . . . | . . . | . . .

    . 6 . | . . . | . . .

    . . . | . . . | . . .

    ------+-------+------

    . 4 6 | . . . | . . .

    . . . | . . . | . . .

    . . . | . . . | . . .

  • Default User Avatar

    Thanks for the follow up. It seems to be working correctly now. Before, when I hit the "Test" button, my code would only pass if the output did NOT contain any subscripted numbers. However when I hit the "Attempt" button, my code wouldn't pass unless the output contained subscripted numbers.

  • Default User Avatar

    Output format for your "tests" do no use the new "subscripts" format.

  • Default User Avatar

    I am experiencing the exact same problem!

  • Default User Avatar

    In the description for this kata you provide the following example:

    For input [2, 3, 3, 4, 2, 3, 2]:

    Ones: 2 => (1 * 2 = 2)

    Twos: 3 => (2 * 3 = 6)

    Threes: 3 => (3 * 3 = 9)

    Fours: 4 => (4 * 4 = 16)

    Fives: 2 => (5 * 2 = 10)

    Sixes: 3 => (6 * 3 = 18)

    Total: 2 + 6 + 9 + 16 + 10 + 18 = 63/63

    Result: Pass

    The input array in this example contains 7 values, not the 6 that were expected.

  • Default User Avatar

    In your kata's description you state: "If a character occurs only once, it should not be followed by a count.". I get the following results however:

    should handle a single character
    ===> 'a' should equal 'a1'

    should handle non-repeating characters
    ===> 'abcd' should equal 'a1b1c1d1'

    should handle a mix of repeating and non-repeating characters
    ===> 'a2b3c4de2' should equal 'a2b3c4d1e2'

  • Default User Avatar

    Your description should specify the desired output order for the results.

  • Default User Avatar

    Your description should specify the expected output order for each of the couples. I received the following error message:

    Baby don't hurt me!: expected [ 'Amy + Carlo', 'Amy + Casper' ] to deeply equal [ 'Amy + Casper', 'Amy + Carlo' ]
    

    As you can see, I returned the correct couples. For each couple, I returned the two names in alphabetical order. Additionally, all couples were returned in alphabetical order. Why is my answer incorrect?

  • Default User Avatar

    There is something wrong with this kata. After hitting the "Test" and "Attempt" buttons, I receive a message stating that "All test cases passed!" but I am never presented with an option to "Submit" my solution.

  • Loading more items...