Placement AptitudeHardTCS Digital · Infosys SP · CAT

How many positive integers not exceeding 1000 have digit sum exactly 10?

  1. A. 66
  2. B. 69
  3. C. 57
  4. D. 63

Correct answer: D. 63

Count digit triples (a, b, c) from 0 to 9 with a + b + c = 10: C(12,2) = 66, minus those with a digit of 10 or more (3 cases, each leaving the rest 0). So 63; 1000 itself has digit sum 1.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic