Challenge your Limits
CodeChefOpen on judge ↗
STATEMENT It is time for Spree, the annual sports festival of BITS Goa. One of the main events, "Challenge your Limits" is a relay race and your college needs your help to figure out the quickest way to win. Each team will consist of 2 players. The entirety of the campus can be considered as a graph containing N vertices (0-based indexing) with M unidirectional roads of varying distances. The fi
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