← All problemsSign in

Roads of Pandora

Problem description. X is the head of Public Work Departments of Pandora.The work of X is to make sure that the modes of travel are good enough to help all citizens travel with greater ease. A quick info about Pandora.The people of Pandora are very smart and hence they have designed the city in such a way that, 1.The city is connected by means of only roadways.All roads are bidirectional. 2.Gi

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start