Help Amanda
CodeChefOpen on judge ↗
Problem statement Amanda is a History student. She is now doing her doctoral work in History. One of her prime works is based on transportation networks in ancient empires between their important towns. She has maps of many empires of different ages and is surprised on how intelligently the road networks were laid in these empires. Since she doesn't have enough time to work on the maps manually,
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start