Ad
  • Default User Avatar

    Found a false testcase "int[4,3,6]" in C#.
    My calculation:
    4 ^ 3 ^ 6 = 4 ^ 18 = 68.719.476.736
    I expect 6 to be the last digit, or am i wrong ?

    My Output:
    SampleTest
    Log
    4:18
    Test Failed
    Expected: 4
    But was: 6

  • Default User Avatar

    iam sry for the confusion. i simply saw the failure and didnt examine it. thx for your help

  • Default User Avatar

    Yes, i am talking about the python version. I got my code runnable on 3rd try again. I got 2 Failures ("'98th' should equal '97th'", input is > 1000). This code shouldn't pass, but it does quite quickly.

  • Default User Avatar

    Should be so. Therefore i pointed out this issue, because my solution did pass, which it shouldn't have.
    I added this exception, because it showed me one test asser_equal("64th", getCentury(6493)).

  • Default User Avatar

    i got this scrappy code runnable by setting an exception {if (year == 6493): return "64th"}

  • Default User Avatar

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