← All problemsSign in

Team

There are N students which are going to participate in Code Golf which is one of the mega event of Technovation. Everything was going smoothly but problem arises when students came to know about it that it is a team event, so students have to make a team. Procedure of making team: - A team can have any number of member upto N. - If A choose B as his/her team member or B select A as his/her team

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