The number of unique combinations of choosing a panjabi along with a pajama among NN panjabis and MM pajamas is N×MN \times M. And Pranto needs SS seconds to try a combination. Maximum combination Pranto can try within KK seconds is KS\lfloor \frac{K}{S} \rfloor-the floor integer value of KS\frac{K}{S}. So, the answer is Minimum(N×M,KS)Minimum( N \times M, \lfloor \frac{K}{S} \rfloor ).

Statistics

98% Solution Ratio
shakil07Earliest, Apr '22
prodip_bsmrstuFastest, 0.0s
Shaon_1903031Lightest, 1.0 MB
Nusab19Shortest, 75B
Toph uses cookies. By continuing you agree to our Cookie Policy.