Computer Science, asked by rathodsonali539, 5 months ago

a state is divided into r*c cities. The government has launched an initiative to find the cities which are dominated by coders. each city may or may not have coders residing in it. if the city is dominated by coders, it is marked with 1 else it is marked with 0. two cities are termed as connected cities if they both are dominated by coders and can be reached by moving vertically, horizontally, or diagonally. I want program code...

Answers

Answered by nishthashinde24
4

Answer:

hello i am new the ans is a state is divided the multiply it ok.

Similar questions