条件
a + b + c = 100
a,b,c positive integers or 0
Run Code Online (Sandbox Code Playgroud)
期望的输出:
[
[0,0,100],
[0,1,99 ],
... # all other permutations
[99,1,0 ],
[100,0,0]
]
Run Code Online (Sandbox Code Playgroud)
Stackoverflow说我的帖子没有太多的上下文来解释代码部分.你同意吗?(这是填充文本以满足其要求)