Ad
  • Default User Avatar
  • Custom User Avatar

    What do I do in this situation?

    Read the description once again ;)

  • Default User Avatar

    So, after reading the details of this kata I was unable to understand one thing.
    For example, I have an input "111". I have no way to distinguish a dot from a dash in this case. What do I do in this situation?

  • Default User Avatar

    I would recommend looking through inputs into "opp" function.

  • Default User Avatar

    In c# test expected and but was answers are flipped (at least for isCheck).

  • Default User Avatar

    I just found the same error, Still not fixed :(

  • Default User Avatar
    A	B	C	D	E	F	G	H
    

    8 ♛ ♚
    7
    6
    5
    4 ♙ ♛
    3 ♙
    2 ♙ ♙ ♙
    1 ♕ ♔ ♗ ♘ ♖

    [{'y': 4, 'owner': 0, 'piece': 'pawn', 'x': 6}, {'y': 5, 'owner': 0, 'piece': 'pawn', 'x': 5}, {'y': 6, 'owner': 0, 'piece': 'pawn', 'x': 3}, {'y': 6, 'owner': 0, 'piece': 'pawn', 'x': 4}, {'y': 6, 'owner': 0, 'piece': 'pawn', 'x': 7}, {'y': 7, 'owner': 0, 'piece': 'queen', 'x': 3}, {'y': 7, 'owner': 0, 'piece': 'king', 'x': 4}, {'y': 7, 'owner': 0, 'piece': 'bishop', 'x': 5}, {'y': 7, 'owner': 0, 'piece': 'knight', 'x': 6}, {'y': 7, 'owner': 0, 'piece': 'rook', 'x': 7}, {'prevX': 3, 'y': 4, 'piece': 'queen', 'x': 7, 'owner': 1, 'prevY': 0}, {'y': 0, 'owner': 1, 'piece': 'king', 'x': 4}] 1
    A B C D E F G H
    8 ♛ ♚
    7
    6
    5
    4 ♙ ♛
    3 ♙
    2 ♙ ♙ ♙
    1 ♕ ♔ ♗ ♘ ♖

    How is it 1's turn if 1's queen was just moved (presence of prevX and prevY)??The test just above this one makes more sense as it is almost the same test except it is 0's turn but in this test the placement is exactly same except it is 1's turn which is not logical because 1's queen was just moved.Plus white king is being checked in it but it shows that it is black's turn which is an impossible situation.

  • Default User Avatar
  • Custom User Avatar

    It has been fixed now. There will be no more random cases in C# with "-1" as the coeficent. It will show "-".

  • Custom User Avatar

    What language were you using? C#? It states in the description that if a = -1 a '-' will be placed, so this shouldn't happen. I will look at it.

  • Default User Avatar

    Expected: True
    But was: False
    Very informative

  • Default User Avatar

    I got stuck on random test.
    So in test the input was (-1j+26)^3, but in other test the input was (-n-12)^5.
    Is it ok that there may be (-1) or just (-)?

  • Default User Avatar

    This kata should block System.Reflection, but no. Fix please.

  • Default User Avatar

    Okay, my fault.

  • Default User Avatar

    As it is showed in instructictions the input should be separated with '/' and then build up.
    GenerateBC("mysite.com/pictures/holidays.html", " : ") == '<a href="/">HOME</a> : <a href="/pictures/">PICTURES</a> : <span class="active">HOLIDAYS</span>';.
    Doing by this strategy:
    GenerateBC("twitter.de/wanted/or-uber-uber-a-from-biotechnology-for/funny.php#people?sortBy=year", ";") == <a href="/">HOME</a>;<a href="/wanted/">WANTED</a>;<a href="/or-uber-uber-a-from-biotechnology-for/">UUB</a>;<span class="active">FUNNY</span>.
    But Kata throws exception that answer should look like this <a href="/">HOME</a>;<a href="/wanted/">WANTED</a>;<a href="/wanted/or-uber-uber-a-from-biotechnology-for/">UUB</a>;<span class="active">FUNNY</span>.

  • Loading more items...