1. Computer Science Engineering (CSE)
  2. Design and Analysis of Algorithms
  3. There are n dice with f faces. The faces...
Q.

There are n dice with f faces. The faces are numbered from 1 to f. What is the maximum possible sum that can be obtained when the n dice are rolled together?

A. 1
B. f*f
C. n*n
D. n*f
Answer» D. n*f
Explanation: the sum will be maximum when all the faces show a value f. the sum in this case will be n*f.

Discussion