2 0 cities and some pairs of cities are connected by roads. A city is called a "Mega city" if it is directly connected to every city in Maharashtra. If altogether there are 1 0 0 roads in the state of Maharashtra, what is the largest possible number of "Mega cities"?
The state of Maharashtra has
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
If there are M Megacities, there are ( 2 M ) roads that connect the cities to each other. Also each Megacity is connected to the other 2 0 − M cities. So we have ( 2 M ) + M ( 2 0 − M ) distinct roads.
Now we have, 1 0 0 ≥ ( 2 M ) + M ( 2 0 − M )
2 0 0 ≥ M ( 3 9 − M )
The largest M for which this works is 6 .
Sir, please copy this and repost your solution . Earlier it wasn't looking as good , sorry if I was intrusive .
⌣ ¨
Problem Loading...
Note Loading...
Set Loading...
If there are M Megacities, there are ( 2 M ) roads that connect the cities to each other. Also each Megacity is connected to the other 2 0 − M cities. So we have ( 2 M ) + M ( 2 0 − M ) distinct roads.
Now we have, 1 0 0 ≥ ( 2 M ) + M ( 2 0 − M )
2 0 0 ≥ M ( 3 9 − M )
The largest M for which this works is 6 .