Computer Science, asked by GaurSundar, 5 months ago

Country X is surrounded by oceans. One day
there is a forecast for a cyclone by weather
agencies, its red alert for the whole country.
All the beaches have been sealed. There are
Nlighthouses forming a straight line around
the coast area and the government wants to
check the range of a lighthouse to identify
the one that can be used to guide the ships
that are reaching the ports.
Now, the range R of a Lighthouse is define
(A* B) mod 1000000007
where,
A number of lighthouses visible on the left
side of that lighthouse + number of
lighthouses visible on the right side of that
lighthouse.

Answers

Answered by dero
0

Answer:

Te te te te tete tete tete t e t r

Similar questions