Ad
  • Default User Avatar

    Та що ж ти в біса таке?

  • Default User Avatar

    PEP8? Well done! Pinned so pinned... ;)

  • Default User Avatar

    In random tests, an error sometimes appears. I ran the same code 10 times and in 3 cases it appeared, and in the rest the tests were passed!

    Reel 1 = Wild Star Bar Bell Seven Cherry King Shell Queen Jack
    Reel 2 = Wild Bar Queen Bell Shell Seven Jack Star King Cherry
    Reel 3 = King Queen Seven Star Shell Cherry Bar Bell Jack Wild
    spins = 0 0 5
    Expecting - 10
    Test Failed
    Expected: 10
    But was: 20
    Completed in 38.3670ms
    RandomTests()
    Log
    Reel 1 = Shell Star Bar Seven Cherry Jack Wild Queen King Bell
    Reel 2 = King Bar Jack Bell Seven Shell Wild Queen Cherry Star
    Reel 3 = Bell Bar Cherry Wild Shell Queen Seven Star Jack King
    spins = 2 6 3
    Expecting - 10
    Test Failed
    Expected: 10
    But was: 20

    In my case, this is due to the fact that I multiply by 2 the result if there are 2 identical pictures and there is a "Wild" picture, regardless of the types of matching pictures. The error should appear on every check, but random tests do not take this into account!

  • Default User Avatar

    Troll level 80

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    C:

    Over_9000
    Pushes_To_The_Limits
    The expression (zeroes( 2, b19)) == (b19-1) is false.
    

    This is not understandable.

  • Custom User Avatar

    The test is correct, but the message is not understandable. In this test, b19 = 1 << 19. I raise an issue about this.

  • Default User Avatar

    I have problems only with the test (2, b19) == b19-1
    I do something wrong, or test is broken?