Relay Race
CodeChefOpen on judge ↗
As the sports meet is coming in GTBIT so everyone is building a team for the Relay Race. A team can participate in Relay Race if the team has exactly two members. A student builds a team with every other student that take part in Relay Race exactly once. For example if student A builds a team with student B than after that student B can't build a team with student A. You are the organiser of the
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