Party day
CodeChefOpen on judge ↗
The leader of your class has decided to throw a party to gather the favour of his people in different groups of the school. There are 3 distinct regions in the city namely A, B, C comprising of PA, PB and PC number of students respectively. However, the leader knows that students of the region B are in conflict with students of groups Aand C. So, there will be a conflict if students from group B
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