K
K
karderxxx2022-04-05 18:10:22
Robotics
karderxxx, 2022-04-05 18:10:22

Questions on the subject "Informatics" how do I make a program?

The situation is this:
Rover is somewhere
in the maze. This is a rectangle
in which there are only horizontal walls with passages. The rover needs to be
in the upper left cell
and paint it (and only it) - this is a signal that he has passed the maze.
So I made a function, but I need to make it end at the top point on the top left and paint it. I don't know how to do this.
Please tell me.
And there are 8 more hidden sites, so the formula needs to be made universal for all sites.
624c5b94ae1ea099447017.png
624c5b9b4ec83680120770.png
624c5ba0de8a6009999415.png
624c5ba8775ac971147236.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question