An intersting OA question

Правка en1, от Punit1566, 2024-08-03 11:14:12

given n and k. there are total 10 groups and each group can have at most k value. So we have to find the number of ways that sum upto n . but each group has upper limit K.

here constraints are 1<=n,k<=1e9; n<=10*k

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Punit1566 2024-08-03 11:14:12 247 Initial revision (published)