Ad
  • Custom User Avatar

    We need to see your code to know why it fails.

  • Custom User Avatar

    Hello. I faced a problem while solving a JS task: tests [3, 5, 4, "It is possible to reach n=4 liters in one jug"] fail. The correct answer [3, 4] is specified in the task description, I even tried to substitute it manually into the return, but it didn't work. It looks like there is an issue in the _checker function in the tests. The test fails with this error:
    TypeError: l.at(...).includes is not a function
    at _checker (test.js:17:17)
    at act (test.js:177:19)
    at Context. (test.js:166:13)
    at process.processImmediate (node:internal/timers:471:21)

    Translated with DeepL.com (free version)