算24点:2,3,4,5总共有多少中算法

1个回答

  • 1:2 × (3 + 4 + 5)

    2:2 × ((3 + 4) + 5)

    3:2 × (3 + (4 + 5))

    4:2 × (3 + 5 + 4)

    5:2 × ((3 + 5) + 4)

    6:2 × (3 + (5 + 4))

    7:2 × (4 + 3 + 5)

    8:2 × ((4 + 3) + 5)

    9:2 × (4 + (3 + 5))

    10:2 × (4 + 5 + 3)

    11:2 × ((4 + 5) + 3)

    12:2 × (4 + (5 + 3))

    13:2 × (5 + 3 + 4)

    14:2 × ((5 + 3) + 4)

    15:2 × (5 + (3 + 4))

    16:2 × (5 + 4 + 3)

    17:2 × ((5 + 4) + 3)

    18:2 × (5 + (4 + 3))

    19:(3 - 2 + 5) × 4

    20:((3 - 2) + 5) × 4

    21:(3 - (2 - 5)) × 4

    22:(3 + 4 + 5) × 2

    23:((3 + 4) + 5) × 2

    24:(3 + (4 + 5)) × 2

    25:(3 + 5 - 2) × 4

    26:((3 + 5) - 2) × 4

    27:(3 + (5 - 2)) × 4

    28:(3 + 5 + 4) × 2

    29:((3 + 5) + 4) × 2

    30:(3 + (5 + 4)) × 2

    31:4 × (3 - 2 + 5)

    32:4 × ((3 - 2) + 5)

    33:4 × (3 - (2 - 5))

    34:(4 + 3 + 5) × 2

    35:((4 + 3) + 5) × 2

    36:(4 + (3 + 5)) × 2

    37:4 × (3 + 5 - 2)

    38:4 × ((3 + 5) - 2)

    39:4 × (3 + (5 - 2))

    40:4 × (5 - 2 + 3)

    41:4 × ((5 - 2) + 3)

    42:4 × (5 - (2 - 3))

    43:(4 + 5 + 3) × 2

    44:((4 + 5) + 3) × 2

    45:(4 + (5 + 3)) × 2

    46:4 × (5 + 3 - 2)

    47:4 × ((5 + 3) - 2)

    48:4 × (5 + (3 - 2))

    49:(5 - 2 + 3) × 4

    50:((5 - 2) + 3) × 4

    51:(5 - (2 - 3)) × 4

    52:(5 + 3 - 2) × 4

    53:((5 + 3) - 2) × 4

    54:(5 + (3 - 2)) × 4

    55:(5 + 3 + 4) × 2

    56:((5 + 3) + 4) × 2

    57:(5 + (3 + 4)) × 2

    58:(5 + 4 + 3) × 2

    59:((5 + 4) + 3) × 2

    60:(5 + (4 + 3)) × 2