简易的24点计算器,可以去重的
例:(不会传图片)
1 2 3 4
case 1: (1 + 2 + 3)x 4 =24
case 2: 1 x 2 x 3 x 4 =24
case 3: (1 + 3)x(2 + 4) =24
case 4: 2 / 1 x 3 x 4 =24
case 5: 2 /(1 /(3 x 4)) =24
3 3 8 8
case 1: 8 /(3 -(8 / 3)) =24
1 1 1 4
NONE
2021-05-26 18:06:07
6KB
24点
交换律
1