3 ,-4 ,2,-12算24点

问题描述:

3 ,-4 ,2,-12算24点
如题

((3+-4)*2)*-12
(3+-4)*(2*-12)
((3+-4)*-12)*2
(3+-4)*(-12*2)
((3*2)+-12)*-4
((-4+3)*2)*-12
(-4+3)*(2*-12)
-4*((3*2)+-12)
((-4+3)*-12)*2
(-4+3)*(-12*2)
(-4-2)/(3/-12)
((-4-2)/3)*-12
-4*((2*3)+-12)
((-4-2)*-12)/3
(-4-2)*(-12/3)
-4*(-12+(3*2))
-4*((-12/3)-2)
-4*(-12+(2*3))
2/((3+-4)/-12)
(2/(3+-4))*-12
2*((3+-4)*-12)
(2*(3+-4))*-12
((2*3)+-12)*-4
2/((-4+3)/-12)
(2/(-4+3))*-12
2*((-4+3)*-12)
(2*(-4+3))*-12
2*(-12/(3+-4))
(2*-12)/(3+-4)
2*(-12*(3+-4))
(2*-12)*(3+-4)
2*(-12/(-4+3))
(2*-12)/(-4+3)
2*(-12*(-4+3))
(2*-12)*(-4+3)
-12/((3+-4)/2)
(-12/(3+-4))*2
-12/(3/(-4-2))
(-12/3)*(-4-2)
-12*((3+-4)*2)
(-12*(3+-4))*2
(-12+(3*2))*-4
((-12/3)-2)*-4
-12/((-4+3)/2)
(-12/(-4+3))*2
-12*((-4+3)*2)
(-12*(-4+3))*2
-12*((-4-2)/3)
(-12*(-4-2))/3
(-12+(2*3))*-4
-12*(2/(3+-4))
(-12*2)/(3+-4)
-12*(2*(3+-4))
(-12*2)*(3+-4)
-12*(2/(-4+3))
(-12*2)/(-4+3)
-12*(2*(-4+3))
(-12*2)*(-4+3)
----END----