就10种独立的解法:
2,4,6,12由此4个数字算出24
1: ((12-4)*6)/2
2: (6*4-12)*2
3: ((6+2)*12)/4
4: (12-4*2)*6
5: 12+6+4+2
6: (6*4)/2+12
7: (4*2-6)*12
8: (4-2)*6+12
9: (4+2)*6-12
10: 12/(2-6/4)......分数解
2,4,6,12由此4个数字算出24
1: ((12-4)*6)/2
2: (6*4-12)*2
3: ((6+2)*12)/4
4: (12-4*2)*6
5: 12+6+4+2
6: (6*4)/2+12
7: (4*2-6)*12
8: (4-2)*6+12
9: (4+2)*6-12
10: 12/(2-6/4)......分数解