用1234算24,加减乘除只能用一次

问题描述:

用1234算24,加减乘除只能用一次

1:(1 + 2 + 3) × 4 2:((1 + 2) + 3) × 4 3:(1 + (2 + 3)) × 4 4:1 × 2 × 3 × 4 5:(1 × 2) × 3 × 4 6:(1 × 2 × 3) × 4 7:((1 × 2) × 3) × 4 8:(1 × (2 × 3)) × 4 9:1 × (2 × 3) × 4 10:1 × (2 × 3 × 4) 11:1 × ((2 × 3) × 4) 12:1 × (2 × (3 × 4)) 13:1 × 2 ×(3 × 4) 14:(1 × 2) × (3 × 4) 15:1 × 2 × 4 × 3 16:(1 × 2) × 4 × 3 17:(1 × 2 × 4) × 3 18:((1 × 2) × 4) × 3 19:(1 × (2 × 4)) × 3 20:1 × (2 × 4) × 3 21:1 × (2 × 4 × 3) 22:1 × ((2 × 4) × 3) 23:1 × (2 × (4 × 3)) 24:1 × 2 ×(4 × 3) 25:(1 × 2) × (4 × 3) 26:(1 + 3 + 2) × 4 27:((1 + 3) + 2) × 4 28:(1 + (3 + 2)) × 4 29:(1 + 3) × (2 + 4) 30:1 × 3 × 2 × 4 31:(1 × 3) × 2 × 4 32:(1 × 3 × 2) × 4 33:((1 × 3) × 2) × 4 34:(1 × (3 × 2)) × 4 35:1 × (3 × 2) × 4 36:1 × (3 × 2 × 4) 37:1 × ((3 × 2) × 4) 38:1 × (3 × (2 × 4)) 39:1 × 3 ×(2 × 4) 40:(1 × 3) × (2 × 4) 41:(1 + 3) × (4 + 2) 42:1 × 3 × 4 × 2 43:(1 × 3) × 4 × 2 44:(1 × 3 × 4) × 2 45:((1 × 3) × 4) × 2 46:(1 × (3 × 4)) × 2 47:1 × (3 × 4) × 2 48:1 × (3 × 4 × 2) 49:1 × ((3 × 4) × 2) 50:1 × (3 × (4 × 2)) 51:1 × 3 ×(4 × 2) 52:(1 × 3) × (4 × 2) 53:1 × 4 × 2 × 3 54:(1 × 4) × 2 × 3 55:(1 × 4 × 2) × 3 56:((1 × 4) × 2) × 3 57:(1 × (4 × 2)) × 3 58:1 × (4 × 2) × 3 59:1 × (4 × 2 × 3) 60:1 × ((4 × 2) × 3) 61:1 × (4 × (2 × 3)) 62:1 × 4 ×(2 × 3) 63:(1 × 4) × (2 × 3) 64:1 × 4 × 3 × 2 65:(1 × 4) × 3 × 2 66:(1 × 4 × 3) × 2 67:((1 × 4) × 3) × 2 68:(1 × (4 × 3)) × 2 69:1 × (4 × 3) × 2 70:1 × (4 × 3 × 2) 71:1 × ((4 × 3) × 2) 72:1 × (4 × (3 × 2)) 73:1 × 4 ×(3 × 2) 74:(1 × 4) × (3 × 2) 75:(2 + 1 + 3) × 4 76:((2 + 1) + 3) × 4 77:(2 + (1 + 3)) × 4 78:2 × 1 × 3× 4