[Community Puzzle] The Mystic Rectangle


Send your feedback or ask for help here!

Created by @davilla,validated by @Alex-1,@Mohsen1365ir and @Leptit.
If you have any issues, feel free to ping them.

What is Validator 7? My code is only failing that, and I am not sure what I am missing.

You can view each test case by clicking here

I meant the validator case. My code passed all test cases there, but I got only 91% overall, because it failed “Validator 7”, which I can’t check. (Can’t upload image, but in the results > my reports part)
As for your image, the validator cases do not appear among the test cases for me, unlike they do on your picture. Thank you for taking the time to answer!

Validator 7:

100 127
120 100

Nothing special here, so I wonder what your problem is :thinking:


it was a rounding error, thank you!

can someone explain in the example how travelling 15 units diagonally and 5 units to the north would get her to her goal

Starting location is (50, 15).

After travelling diagonally 15 units NE, Ataria arrives at (65, 0). As the map wraps around, that also means Ataria arrives at (65, 150).

So, she can travel straight 5 units N to arrive finally at (65, 145).