Count the number of ways to add 3 numbers that sum to N

后端 未结 0 2001
醉酒成梦
醉酒成梦 2020-12-15 12:11

How many ways can I add three numbers to be equal to 10 or greater, when the numbers are in the interval (1, 6)? For instance, I can generate 18 only 1 way (6 + 6 + 6), but

相关标签:
回答
  • 消灭零回复
提交回复
热议问题