3917311
There are ‘N’ number of houses in a village. Each
house
powo equires a voltage of V volts of electricity to
up their home appliances. In this context,
the houses are arranged in the form of a
matrix(rows*columns) where 'N' is the order of the
matrix. The amount of voltage supplied to each
house is calculated as current(i)*resistance(n)
where 'i' is the row number and r is the column
number. When the voltage supplied to the
house(i*r) matches the value V', the appliances in
the house can work.
The
SK here is to find the number of houses
whose voltage value(i*r) is the same as 'V'. If none
of the house's value matches display a message
"NO POWER".
2012
Example 1:
Input:
5
15
Output:
Value of NT e. rows=5 columns=5
Value of v
Answers
Answered by
0
Answer:
departmentalisation's JankinandanRadiance
Similar questions
Math,
7 days ago
Hindi,
7 days ago
Math,
15 days ago
Math,
8 months ago
Social Sciences,
8 months ago