← All problemsSign in

The Strange Ranking of Sport Climbing

There are $n$ climbers, numbered $1, 2,\dots, n$, taking part in the sport climbing final at the olympic games and you are a fan of athlete $1$. A climbing competition features three contests, one for each discipline: speed, bouldering, and lead. For each of the three disciplines, all the $n$ athletes compete in the respective contest and they are ranked, depending on their performance, from $1$

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start