Recruitment
CodeChefOpen on judge ↗
Bajrang Dal is recruiting from IIIT Bhubaneswar. They want to know the total number of groups of students present in the college. There are n number of students in the college. Each student can only belong to one group or remain solo. Each group has a unique number $x$. Each boy member of a particular group wears t-shirt with number $x$ written on their back and each girl member of that group wea
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