Top It!
CodeChefOpen on judge ↗
With the IPL cancelled because of the coronavirus, Rohit got bored. He was used to getting his team through to the playoffs. He is now moving from cricket to coding as that is an indoor activity. He imagines up a round robin cricket tournament (where win/loss is the only possible result i.e. no ties or no results) of $n$ teams, $m$ teams reach the second stage. A round robin tournament is one
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