function calcGame(line) { let sign = false; const dp = (arr, res) => { //剪枝 if (res > 24) { return; } //满足条件并剪枝 if (res === 24) { sign = true; return; } if (res < 24) { for (let i = 0; i < arr.length; i++) { //拷贝下数组,原数组需要多次使...