Ad
  • Custom User Avatar

    I could be wrong, but it seems that the random test outputs expect incorrect answers. For example, in cases where y1=y2 the slope should = 0 yet, the test expects -1? :/

  • Custom User Avatar

    Assume the answer is an integer

    Yet most random tests result in a decimal slope and expect an integer.

  • Custom User Avatar

    NO random tests in

    • CS
    • Clojure
    • C#
    • Java
    • JS
  • Custom User Avatar

    why do you have to send 0 for true and 1 for false in everything but python and java? It is a bit confusing. Why not true and false boolens

  • Custom User Avatar

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

  • Custom User Avatar

    C# Function name should use PascalCase

  • Custom User Avatar

    It's kinda strange that it expects string as the output, even for non-number values such as undefined

  • Custom User Avatar

    Ruby 3.0 should be enabled.

  • Custom User Avatar

    In the current c++ version one can pass the attempt portion and fail the sample test portion. I noticed this because there is at least one solution accepted as correct, which is absolutely incorrect. You can check this by simply checking the case a^2 + b^2 = c^2 only.

  • Custom User Avatar

    In Java the return type should be boolean too. Also, all valid triples are already ordered in the Java tests. Reading the description again, it looks like that might be intentional. So either they should alway be ordered in Java and Python or the description should be fixed too.

  • Custom User Avatar

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

  • Custom User Avatar

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