Two-way roads between seven towns (km)
| Road | Length | Road | Length |
|---|---|---|---|
| P–Q | 5 | S–T | 5 |
| P–R | 9 | S–U | 9 |
| Q–R | 3 | T–U | 3 |
| Q–S | 8 | T–V | 7 |
| R–S | 4 | U–V | 2 |
| R–T | 10 |
No other roads exist.
A truck must go from P to V without passing through town S. What is the shortest distance it can drive?
A23 km
B22 km
C21 km
D25 km
Show answer & solution
Correct answer: A. 23 km
Solution in:
Solution: Avoiding S, the route must use R–T: P–Q–R–T–U–V = 5 + 3 + 10 + 3 + 2 = 23. P–R–T–U–V = 9 + 10 + 3 + 2 = 24 is longer.S से बचते हुए R–T का उपयोग करना होगा: P–Q–R–T–U–V = 5 + 3 + 10 + 3 + 2 = 23. P–R–T–U–V = 9 + 10 + 3 + 2 = 24 लंबा है।