文件名称:24
介绍说明--下载内容均来自于网络,请自行研究使用
输入任意四个整数(0到10),运算符只有加减乘除,还有括号.每个数只能且必须用一次。要求判断这些表达的结果中是否有24。如果有,输出计算表达式:如输入4,6,1,1 输出 4*6*1*1 =24 (允许有括号)。-Enter any four integer (0-10), only addition and subtraction multiplication and division operators, as well as brackets. Each number only once and must be used. Requirements of these expressions to determine whether the results have 24. If so, the output computational expressions: such as the importation of 4,6,1,1 output 4* 6* 1* 1 = 24 (permit has brackets).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
24.cpp