Twin Brothers and Coupons
CodeChefOpen on judge ↗
There are 6 twin brothers A1 A2. B1 B2. C1 C2. D1 D2. E1 E2. F1 F2 and there is one common friend G who does not have a twin brother. A1 and A2 are twins, B1 and B2 are twins and so on. So, there are altogether 13 people going for the festival. They all go to the college fest Saturnalia, and as you all know there are stalls and you need to buy coupons for games at the stall. Now they want to p
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