THE TECHNICIAN RUN
CodeChefOpen on judge ↗
A company has their office at some suburbs in a metro city. The company's technicians are initially at some areas in the city. In one day, the company gets service requests from various suburbs of the city where it needs to send one technician per request. The city's layout is in the form of a weighted undirected graph with the weights representing the cost to get from one suburb to its neighbors.
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