Pizza Delivery
CodeChefOpen on judge ↗
Krumanal works at Pizza Hut as a delivery boy. He needs to get these pizzas delivered before they get cold but he is extremely lazy. He has to deliver pizzas to N houses. You need to tell him which will be the fastest way between 2 houses. You are provided with the name of the person who ordered the pizza (who happens to own the house) and the connection between the houses in terms of time taken t
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