Sports Day
CodeChefOpen on judge ↗
In Chef school , sports day is about to happen today but in pairs. To make the day more interesting for coach and other students , our organiser ,Chef had plans in mind. Coach and students are trying their best but they are taking too much time. They asked you for help. Chef has given each student $i$ a number $Ai$ . Chef has also said to find their partners themselves such that the sum of their
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