文件名称:33943781524point
介绍说明--下载内容均来自于网络,请自行研究使用
计算24是流行的扑克游戏。其方法是随意抽出4张牌,AJQK王牌算一,其他牌按点数计算,花色不计。目标是通加减乘除和括号最终算出24。设计一个程序,输入四个数字(1 - 10),则列出所有可能计算结果为24 的方案。要求:
方案不能重复(加法乘法交换律等算不同方案)。
计算中局部可以为分数,结果为整数即可( 如 3 3 7 7 算法:(3 + 3 / 7) * 7)-Calculation of 24 popular poker game. Random out of four tiles, AJQK ace count one, the other players in points calculation, excluding color. The goal is through addition, subtraction and parentheses calculate the final 24. Design a program, enter the four numbers (1- 10), lists all possible to calculate the results of 24 programs. Requirements: The program can not be repeated (addition multiplication commutative operators of different options). The calculation of local scores, the results can be an integer (such as the 3377 algorithm: (3+ 3/7)* 7)
方案不能重复(加法乘法交换律等算不同方案)。
计算中局部可以为分数,结果为整数即可( 如 3 3 7 7 算法:(3 + 3 / 7) * 7)-Calculation of 24 popular poker game. Random out of four tiles, AJQK ace count one, the other players in points calculation, excluding color. The goal is through addition, subtraction and parentheses calculate the final 24. Design a program, enter the four numbers (1- 10), lists all possible to calculate the results of 24 programs. Requirements: The program can not be repeated (addition multiplication commutative operators of different options). The calculation of local scores, the results can be an integer (such as the 3377 algorithm: (3+ 3/7)* 7)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
24point.txt