Carrotsticks
Retired
- Joined
- Jun 29, 2009
- Messages
- 9,494
- Gender
- Undisclosed
- HSC
- N/A
Cannot think of a faster way unfortunately. You could fix the first two shirts (different colour), work out possible cases and then cycle through them (you get the same answer as using Inclusion/Exclusion) but other than that, I've run out of ideas.
Will mull over it but having a hard time doing (and generalising) this particular problem without having to consider some sort of cases.
Will mull over it but having a hard time doing (and generalising) this particular problem without having to consider some sort of cases.