Ad
  • Custom User Avatar

    I was running test cases in local intelliJ and was wondering why the outputs of the same inputs were different.
    Does anyone also meet this issue? expected<5> get <6>

  • Custom User Avatar

    Avoid global variables. They add state between function calls that you may have not anticipated. Your function works on your machine likely because you are only testing one call per program; in that respect, your function is correct. However, this global state interferes with all other calls beyond that first one. Restructure your code to not use global variables (recommended) or make sure you reset all global state on each call.

  • Custom User Avatar

    In c++, all tests passed when tested locally, but failed running test on browser:
    should_pass_some_fixed_assertions_involving_simple_mazes
    Expected: true
    Actual: false