Sign in
or
Register
Courses
Textbook
Compiler
Contests
Topics
Courses
C++. Robot
C++. Artist Robot
Module:
C++. Artist Robot
6
/9.
Colorize (C++)
The cells that the Robot must paint on the field look like flashing squares.
Paint all the marked cells. Return the robot to its base.
Type your program below
C++
Python
To check the solution of the problem, you need to register or log in!
Previous Submissions
Silversmith
×
Colorize
Exploring different planets, the robot can mark different areas. In these areas, scientists will continue to try to grow something. The robot marks the required area with the
paint over;
command. In this case, the cell on the field will change its color to green.
The cells that the robot must
paint over
on the field look like flashing squares.
The robot must paint over all the required cells on the field before returning to the base! Otherwise, the mission will fail!
Result
×