Mathematics (JEE)ModerateCodeforces Div2 D

How many integer triples (a, b, c) satisfy a + b + c = 24 with 2 <= a, b, c <= 12?

  1. A. 190
  2. B. 55
  3. C. 82
  4. D. 91

Correct answer: C. 82

Shift each xi by subtracting 2 to get yi in [0,10] with sum 18; inclusion-exclusion over the variables exceeding 10 gives 82.

More Permutations, Combinations and Probability questions

Exams that ask this topic