
Ahnfeltia
3254011055738
★★★★
- Joined
- Oct 6, 2022
- Posts
- 2,861
Sure, but brute forcing the problem ain't worth any credit. Edit: just now seeing your edit. No, I had the computer just calculate all the possibilities (this is called brute forcing) because I couldn't figure out how to make inclusion-exclusion work.Correct.
Did you use the inclusion-exclusion principle?
Last edited: