2010 = 1+2-(3-4-5)*6*7*8-9
这是一个数字游戏,使用123456789,并按照123456789的顺序,使用加减乘除以及括号,进行操作使其结果等于2010(原来的游戏是使其值为100,请看这里),那么会有多少种解法呢?下面是924种解法,其让我想起了“24点游戏”。
这里,如果让你写一段程序来生成所有的可能,你知道怎么写这段程序吗?
使用单个数
2010 = 1+2-(3-4-5)*6*7*8-9
2010 = 1-(2+(3-4-5)*6*7)*8+9
2010 = 1+2+(3+4*(5+6*7+8))*9
2010 = 1+2*(3*4*(5+6)-7)*8+9
2010 = 1*2*3*(4*(5*6+7*8)-9)
2010 = 1+2+(3+4*(5-6+7*8))*9
2010 = (1-2-3+4*(5/6+7*8))*9
2010 = (1+2+3*4)*(5-6+(7+8)*9)
2010 = 1+2+((3*(4+5)+6)*7-8)*9
2010 = (1+2+3)*(4*(5*6+7*8)-9)
2010 = 1+2+3*(4*(5+6)*(7+8)+9)
2010 = (1*2/3)*((4+5)*6*7*8-9)
2010 = (1-2-3)*((4+5)/6-7*8*9)
2010 = (1*2+(3-4*(5/6-7))*8)*9
2010 = 1*(2+(3-4*(5/6-7))*8)*9
2010 = (1+2*(3+4))*(5-6+(7+8)*9)
使用多位数
2010 = 12*34*5-6-7-8-9
2010 = 12*34*5+6*7-8*9
2010 = 1+2345*6/7+8-9
2010 = 12-3*(4+5-678)-9
2010 = 123*4*5-(6*7+8)*9
2010 = 1+2-3*(4*5*6-789)
2010 = 123*4*5+(6-7*8)*9
2010 = 12*34+(5+6+7)*89
2010 = 12*3*45+6*(7*8+9)
2010 = 12+3*(4-5+67+8)*9
2010 = (12-3)*4*56-7-8+9
2010 = 12-(3-4*56+7-8)*9
2010 = (1*2+34)*56-7-8+9
2010 = 1*(2+34)*56-7-8+9
2010 = 12*3*45-6*(7-8*9)
2010 = 1+2*(34*5*6-7)-8-9
2010 = 1+2-(3-45+6)*7*8-9
2010 = 1*2*3*(45*6+7*8+9)
2010 = (1+2)*3*4*56-7-8+9
2010 = 1*2*3*(45*6-7+8*9)
2010 = 12-(3/4-5)*6*78+9
2010 = 1+(2/3)*45*67+8-9
2010 = 1+23-4*(5/6-7*8)*9
2010 = (1-2/3+4*56+7-8)*9
2010 = 1+2-3*(4-5)*(678-9)
2010 = (1-2)*3*(4-5-678+9)
2010 = 1+2-3*((4-5)*678+9)
2010 = (1+2)*(3-4*5+678+9)
2010 = 1+(2+3)*(456-7*8)+9
2010 = (12+3-45)*67*(8-9)
2010 = 1-(23-(45-6)*7)*8+9
2010 = 12-3*(4+5-(67+8)*9)
2010 = 12-(3-45*(6+7-8))*9
2010 = 1*(23-4*56)*(7-8-9)
2010 = (1*23-4*56)*(7-8-9)
2010 = (1+23/4)*5*67*8/9
2010 = 12-3*(4+(5-6)*78)*9
2010 = (1-23-45)*(6*7-8*9)
2010 = 1*((2+34)*56-7-8+9)
2010 = 1*((2+34)*56-7-8)+9
2010 = 1*((2+34)*56-7)-8+9
2010 = 12+3*(4*(5-6)+78)*9
2010 = (1-2-34+5)*67*(8-9)
2010 = 1+(2+34)*56+7*(8-9)
2010 = 1+2+((34+5-6)*7-8)*9
2010 = 1-(2-3-4)*(56*7+8)+9
2010 = 1+2+(3+4*(56+7-8))*9
2010 = (1+2*34)*(5*6+7-8)+9
2010 = (12+3)*4+5*6*(7*8+9)
2010 = (1+2*34*5-6)*(7+8-9)
2010 = 1-(2+3-45)*(6*7+8)+9
2010 = 1-(2+(3-45+6)*7)*8+9
2010 = (1-2+(3+45)*6)*7-8+9
2010 = (1+2)*(3*4*56-7+8)-9
2010 = (1+2+3)*(45*6+7*8+9)
2010 = 1*2*((3*4-5+6)*78-9)
2010 = (1+2+3)*(45*6-7+8*9)
2010 = 1+2-3*(45-6*7*(8+9))
2010 = (12+3)*(4*5+6*7+8*9)
2010 = (12+3)*4-5*6*(7-8*9)
2010 = 1+2*(3*(4+5*67)-8)-9
2010 = 1+(2+3-45)*(6-7*8)+9
2010 = (12+3-45)*67/(8-9)
2010 = 12+3*(4/(5-6)+78)*9
2010 = 1-(2+3*45/6)*(7-89)
2010 = (1+2)*34*5*67/(8+9)
2010 = (1-2-34+5)*67/(8-9)
2010 = 1+(2+34)*56+7/(8-9)
2010 = 12+(3/4)*(5*6+7)*8*9
2010 = (1*2/3-4)*(5+6-78)*9
2010 = 1*(2/3-4)*(5+6-78)*9
2010 = 12-(3/4)*(5-6*7)*8*9
2010 = (1*2/3-4*56)*(7-8)*9
2010 = 1*(2/3-4*56)*(7-8)*9
2010 = (1+2)*((3-4)*5+678)-9
2010 = (1+(2-3)*4)*(5-678)-9
2010 = (1+2)*(3-4)*(5-678)-9
2010 = (12+3)*(45-(6-7)*89)
2010 = 12+3*((4+5)*(67+8)-9)
2010 = 1-((2+34)*56-7)*(8-9)
2010 = (1-2+3*45)*(6-(7-8)*9)
2010 = 12-(3-(4+5+6)*(7+8))*9
2010 = (12+3)*(4+5+6+7*(8+9))
2010 = (1+2)*(3+4*(5+6)+7*89)
2010 = 1+2-(3/(4-5))*(678-9)
2010 = ((1+2)/3-4)*(5-678)-9
2010 = 1-(23+(4+5)/6)*(7-89)
2010 = 1-((2+34)*56-7)/(8-9)
2010 = (1+2+3/4)*(5+(67-8)*9)
2010 = 12*(3-4*(5-(6-7/8)*9))
2010 = 1-(2+(3/4)*5*6)*(7-89)
2010 = (1+2)*((3-4)*5+(67+8)*9)
2010 = (1+(2-3)*4)*(5-(67+8)*9)
2010 = (1+2)*(3-4)*(5-(67+8)*9)
2010 = (1-(23+4)*5)*(6*(7-8)-9)
2010 = (12+3)*((4+5)*(6+7)+8+9)
2010 = (12/3)*((4-5)/6+7*8)*9
2010 = ((1*2/3-4*56)/(7-8))*9
2010 = (1*(2/3-4*56)/(7-8))*9
2010 = ((1+2)/(3-4))*(5-678)-9
2010 = ((12+3)/4)*(5+(67-8)*9)
2010 = ((1+2)/3-4)*(5-(67+8)*9)
2010 = (1-(23+4)*5)*(6/(7-8)-9)
2010 = ((1+2)/(3-4))*(5-(67+8)*9)
使用小数
2010 = 1+2+.3*4*5*6*7*8-9
2010 = 1+2+3*.4*5*6*7*8-9
2010 = 1+2+3*4*.5*6*7*8-9
2010 = 1+2+3*4*5*.6*7*8-9
2010 = 1+2+3*4*5*6*.7*8-9
2010 = 1+2+3*4*5*6*7*.8-9
2010 = 1/.2+345*6-7*8-9
2010 = 1/.2+345*6+7-8*9
2010 = 1+2*3*4*56/.7+89
2010 = 12+(34.5*6+7+8)*9
2010 = 1+234.5*6/.7+8-9
2010 = (1234+567+8)/.9
2010 = 1+2345*.6/.7+8-9
2010 = 12-34*(.5-67+8)+9
2010 = 12-(3*4-5*6*7.8)*9
2010 = 12*(3*4-.5+67+89)
2010 = 1*(2345-67*8)/.9
2010 = (1*2345-67*8)/.9
2010 = 12+3*(.4*5-6+78)*9
2010 = 12+3*(4*.5-6+78)*9
2010 = 12-(3*4-.5*6*78)*9
2010 = 12-(3*4-5*.6*78)*9
2010 = 1-(2-.3*4*5*6*7)*8+9
2010 = 1-(2-3*.4*5*6*7)*8+9
2010 = 1-(2-3*4*.5*6*7)*8+9
2010 = 1-(2-3*4*5*.6*7)*8+9
2010 = 1-(2-3*4*5*6*.7)*8+9
2010 = 1+2+3-4*(.5*6-7*8*9)
2010 = 1+2+3-4*(5*.6-7*8*9)
2010 = 1*2*3-4*(.5*6-7*8*9)
2010 = 1*2*3-4*(5*.6-7*8*9)
2010 = 12*(34*5-.6+7-8.9)
2010 = .1+23*(45+6*7)+8.9
2010 = .1+23*(4*5+67)+8.9
2010 = .1+2345*6/7+.8-.9
2010 = 12+3*(45/.6+7-8)*9
2010 = .1+2-3*(4+5-678)+.9
2010 = 1+2-(3-.4*567+.8)*9
2010 = 1+2-(3-4*56.7+.8)*9
2010 = (12/.3-4)*56-7-8+9
2010 = 1.2+(3+45)*6*7-.8*9
2010 = 1.2+(3+45)*6*7-8*.9
2010 = 12*34*5+6/(7-.8*9)
2010 = 12*34*5+6/(7-8*.9)
2010 = 12*(34*5-.6+7-8-.9)
2010 = (1.2+34+5)*(67-8-9)
2010 = 1+2+3*(4+56/.7)*8-9
2010 = 12+3*(.4-5+.6+78)*9
2010 = .1+23*(45+6*7)+8+.9
2010 = .1+23*(4*5+67)+8+.9
2010 = 12+3*45*(.6+7+.8*9)
2010 = 1-(23-4.5+6)*(7-89)
2010 = 1*2*3*(4/.5+6*7*8-9)
2010 = 12-(3-4.5*(6*7+8))*9
2010 = (1+2)*(3-.4*5+678-9)
2010 = (1+2)*(3-4*.5+678-9)
2010 = 12*(3.4*56*7/8+.9)
2010 = 12*(34+(.5-6+7)*89)
2010 = 1+.2+(3+45)*6*7-.8*9
2010 = 1+.2+(3+45)*6*7-8*.9
2010 = 12-(3+4.5*(6-7*8))*9
2010 = 12+((34+.5)*6+7+8)*9
2010 = 1+(234+.5)*6/.7+8-9
2010 = (1+.2+34+5)*(67-8-9)
2010 = 12+(.3-4)*(5-67*8-9)
2010 = 12*3*(45+6*7/8)/.9
2010 = 12-(34+5*(.6-7)*8)*9
2010 = 12+(34*(.5+6)-7+8)*9
2010 = 1+(2/.3)*4.5*67+8-9
2010 = 1+(2/.3)*45*6.7+8-9
2010 = 1-(23-4-.5+6)*(7-89)
2010 = 1-(2-3-4)*(56*7+.8+9)
2010 = 1*2*(34-.5)*(6+7+8+9)
2010 = (1+23-4)*5*(6+7+8-.9)
2010 = (1+2*34)*(.5*6*7+8)+9
2010 = (1+2*34)*(5*.6*7+8)+9
2010 = (1+2*34)*(5*6*.7+8)+9
2010 = 12*(3+4)+5*(6*7+.8)*9
2010 = 12-3*(4-5*(.6+7+8))*9
2010 = (1-2*34)*.5*6*(7-8-9)
2010 = (1+2)*34+5*(6-.7)*8*9
2010 = 12+3*4*(5*(6-.7)-8)*9
2010 = 12-(.3/.4-5)*6*78+9
2010 = 12-(3*4-5*6*(7+.8))*9
2010 = 1*2*(3*4*(.5+6+78)-9)
2010 = 1-(2-34)*(.5+6+7*8)+9
2010 = 1-(2+34+5-6)*7*(.8-9)
2010 = 1-(234+5+6)*(.7-8.9)
2010 = (1+2+3+4*56)*(.7+8)+9
2010 = (1*2*3+4*56)*(.7+8)+9
2010 = 1*(2*3+4*56)*(.7+8)+9
2010 = (1+(234+5-6-7)*8)/.9
2010 = (1*2+3)*4*5*(6+7+8-.9)
2010 = 1.2*(34-.5)*(67-8-9)
2010 = 1*(2+3)*4*5*(6+7+8-.9)
2010 = 1-(2+3)*4*(.5-6-7)*8+9
2010 = (123/.4+5)*6+(7+8)*9
2010 = (12/3)*(4.5-6+7*8*9)
2010 = 1*2*(3*(.4*5+6*7*8)-9)
2010 = 1*2*(3*(4*.5+6*7*8)-9)
2010 = 1*(2*3-4*(.5*6-7*8*9))
2010 = 1*(2*3-4*(5*.6-7*8*9))
2010 = (1+2)*(3-4/.5+678)-9
2010 = (1-2+3+4)*(.5+6*7*8)-9
2010 = 1*2*3*(4+(.5+6*7)*8-9)
2010 = 1/.2+34-5*6*(.7-8)*9
2010 = ((123+4*5)/.6-7-8)*9
2010 = 12*(34*5-.6*7+.8+.9)
2010 = 12*(34*5-6*.7+.8+.9)
2010 = (1*2/3+4-.5)*67*.8*9
2010 = 1-(2*3*4+5+6)*7*(.8-9)
2010 = .1*(2/3+4-.5)*67*8*9
2010 = 1*(2/3+4-.5)*67*.8*9
2010 = 1+23-4*(.5/.6-7*8)*9
2010 = 1+(2-3-4+5*6*7)*(.8+9)
2010 = 1-2*(3+4*5*(.6-7))*8+9
2010 = 1+(2-3-4-5*6)*7*(.8-9)
2010 = (1-.2/.3+4*56+7-8)*9
2010 = (1+23)*(4+5+67/.8-9)
2010 = 1-(234+5+6)*(.7-8-.9)
2010 = 12+((3*4/.5)*6+78)*9
2010 = 12-3*(.4-5.6*7*(8+9))
2010 = (1+2.3/.4)*5*67*8/9
2010 = (1+23/4)*5*6.7*8/.9
2010 = 12*(3*(4+5-.6)*7-8.9)
2010 = (1*2-34*(.5-67)*8)/9
2010 = 1*(2-34*(.5-67)*8)/9
2010 = (1+2)*(3*45+6*78)/.9
2010 = 1+(2/.3)*4*(5+67)+89
2010 = (1/.2)*(3-4*56+7*89)
2010 = (1-23-4/.5)*67*(8-9)
2010 = .1+234.5*6/.7+.8-.9
2010 = (1-2+34/.5)*(6+7+8+9)
2010 = 1*2*3*(.4-.5+6*7*8-.9)
2010 = ((12/3)*456-7-8)/.9
2010 = (1+(234-56/7)*8)/.9
2010 = (12/3)*(4+.5-6+7*8*9)
2010 = 12-(3-45*(6*.7+.8))*9
2010 = (1+23)/.4+5*6*(7*8+9)
2010 = 1+(2/.3+4*5)*(67+8)+9
2010 = 1-(2-3*(4+56/.7))*8+9
2010 = (.1-2*3.4)*5*6*(7-8-9)
2010 = 1+((2+3)*4/.56)*7*8+9
2010 = 12*((34-5)*6-.7*8-.9)
2010 = 12*((34-5)*6-7*.8-.9)
2010 = 12*((34-5)*6+.7-.8*9)
2010 = 12*((34-5)*6+.7-8*.9)
2010 = (12-3+4*5*6*(7+8))/.9
2010 = 12-3*(.4-56*.7*(8+9))
2010 = 12*(.3+4*(56-7-.8*9))
2010 = 12*(.3+4*(56-7-8*.9))
2010 = (1+23/4)*.5*67*8/.9
2010 = (1+23/4)*5*67*.8/.9
2010 = (12-3)*4*(.5/6+7*8)-9
2010 = 1*(23+4)*(5+6+7*8)/.9
2010 = (1*23+4)*(5+6+7*8)/.9
2010 = (1*2+34)*(.5/6+7*8)-9
2010 = 1*(2+34)*(.5/6+7*8)-9
2010 = 1+(2/.34+5+6)*7*(8+9)
2010 = (1-(2+3-4*56-7)*8)/.9
2010 = 1+2+(3*4/.5)*(6+78)-9
2010 = 1+(2+34*(5+6*7))/.8+9
2010 = 12-(3+45*(.6-.7*8))*9
2010 = 12-(3+45*(.6-7*.8))*9
2010 = (1+23)/.4-5*6*(7-8*9)
2010 = (12/3.4)*5*6.7*(8+9)
2010 = 1-(2-3/.4+5*6)*(7-89)
2010 = 1-2*3*(4+.5/6)*(7-89)
2010 = .1+2345*.6/.7+.8-.9
2010 = 1*2*3*((4/.5)*6*7+8-9)
2010 = 1+2*((3*4/.5)*6*7-8)+9
2010 = ((1+2*3*4)*5/.6+7+8)*9
2010 = 12*(3*(4+5-.6)*7-8-.9)
2010 = (1+2-(3-4*5/.6)*7+8)*9
2010 = (1-2+3-4*(.5/6-7)*8)*9
2010 = (1+2+3)*(4/.5+6*7*8-9)
2010 = (1-2+3-45*6)*(.7+.8-9)
2010 = (1/.2)*3*4+5*6*(7*8+9)
2010 = 1+2-(3-4*(56+.7)+.8)*9
2010 = (1/2)*3*4*(.5+6*7*8)-9
2010 = (12+3)*.4*(.5+6*7*8)-9
2010 = (.1-.2*34)*5*6*(7-8-9)
2010 = 12+3*(.4+(5+6*.7)*8)*9
2010 = (1-2)*3-4*(.5/6-7*8)*9
2010 = (1+(2+3)*4-.5/6+7)*8*9
2010 = 1+(2+3)*(4/.5+6*7)*8+9
2010 = 1-(23+.4*5*6)*7*(.8-9)
2010 = 1-(23+4*.5*6)*7*(.8-9)
2010 = 1-(23+4*5*.6)*7*(.8-9)
2010 = (1+2)*3*4*(.5/6+7*8)-9
2010 = (1-2/3+4-5*6*(.7-8))*9
2010 = (1*2-3+4*(.5/6+7*8))*9
2010 = 1*(2-3+4*(.5/6+7*8))*9
2010 = 1+2-(.3-4)*(.5+67)*8+9
2010 = .1+(2/3)*45*67+.8-.9
2010 = (1/.2)*3*(4*5+6*7+8*9)
2010 = (1/.2)*3*4-5*6*(7-8*9)
2010 = 1+(2-34-.5*6)*7*(.8-9)
2010 = 1+(2-34-5*.6)*7*(.8-9)
2010 = (12/3.4)*.5*67*(8+9)
2010 = (1-.2+34)*(56.7+.8)+9
2010 = (.1+.2-3-4)*5*6*(7-8-9)
2010 = 1-2/.3-4*(.5/6-7*8*9)
2010 = (1/2-34)*(5-67+8)/.9
2010 = ((123+.4*5)/.6+7+8)*9
2010 = ((123+4*.5)/.6+7+8)*9
2010 = 1-2*(3*4-.5+6)*7*(.8-9)
2010 = 12*(3-(4-.5)*(6*7-89))
2010 = (12-3-4)*(5*(.6+78)+9)
2010 = (1+2/.3-4+.5)*67*.8*9
2010 = ((1-2)/3+4.5)*67*.8*9
2010 = 1-(23.4+.5+.6)*(7-89)
2010 = (.1-2/3+4*56+.7-.8)*9
2010 = 1-(2+3*4.5/.6)*(7-89)
2010 = (1*2/(.3+4.5))*67*8*9
2010 = (12+34+5)*67/(.8+.9)
2010 = (.12/.34)*5*67*(8+9)
2010 = (12/.34)*5*.67*(8+9)
2010 = (1-23-4/.5)*67/(8-9)
2010 = 12+((34*5+.6+7)/.8)*9
2010 = .1+.2-(3-4*(567-8))*.9
2010 = 12-(3-(4+.5)*(6*7+8))*9
2010 = (1-2)*(34-.5)*6*(7-8-9)
2010 = ((1-2)*34+.5)*6*(7-8-9)
2010 = (1+(2+3/4.5)*678)/.9
2010 = 12*((3+.4)*56*7/8+.9)
2010 = 1.2-(3-(4-.5-.6)*78)*9
2010 = 1+(23+(4*5+6)*7)*(.8+9)
2010 = (12+3)*4*((.5-6)*7+8*9)
2010 = 1*23*((.4+5)/.6+78)+9
2010 = (1-(2/3)/4)*.5*67*8*9
2010 = (1-(2/3)/4)*5*67*.8*9
2010 = (.1+2.3/4)*5*67*8/.9
2010 = 1-(2/.3)*(4.5-6*7)*8+9
2010 = 1+(2-3-4)*(56-7)*(.8-9)
2010 = 12*((3+.4/56)*7*8-.9)
2010 = 1+(23-(4-5*6)*7)*(.8+9)
2010 = ((1*2/.3+4*5)*67/8)*9
2010 = 12-(3+(4+.5)*(6-7*8))*9
2010 = (1*(2/.3+4*5)*67/8)*9
2010 = (1/(.2+3-4/5))*67*8*9
2010 = 1-(2+.3*45/.6)*(7-89)
2010 = 1+(2/.3)*(4+5*6.7)*8+9
2010 = 1*((2*3+4*56)*(.7+8)+9)
2010 = (1/.2+.34)*5*67/.89
2010 = 1-(2/.3)*45*(.6-7)+89
2010 = (1+2+3+45)*67/(.8+.9)
2010 = (1*2*3+45)*67/(.8+.9)
2010 = (12+3)*4*5*(6-.7*(8-9))
2010 = 1*(2*3+45)*67/(.8+.9)
2010 = 12/.3+4*(.5-6*(7-89))
2010 = (1-.2+34)*(56+.7+.8)+9
2010 = 12+(.3/.4)*(5*6+7)*8*9
2010 = 12+(3/.4)*(5*6+7)*.8*9
2010 = 12+(3/.4)*(5*6+7)*8*.9
2010 = 12*3*(45+.6*7/.8)/.9
2010 = 12*3*(45+6*.7/.8)/.9
2010 = .1-2+.3-4*(.5+.6-7*8*9)
2010 = (1.2+.3)*4*(.5+6*7*8)-9
2010 = (1-2/3-45)*6*(.7+.8-9)
2010 = (1-.2+34)*(5+6*7/.8)+9
2010 = 1-2*(3+4)*(.5-6*(7+8+9))
2010 = 1-(2+3*4)*(.5-6*(7+8+9))
2010 = 1/2-((3-45)*6+.7)*8-.9
2010 = (1+2+3)*(4+(.5+6*7)*8-9)
2010 = 1*2*((3/.4-.5+6)*78-9)
2010 = 1+(2+(3+4)*5*6-7)*(.8+9)
2010 = 12-3*(.4-56*7*(.8+.9))
2010 = (1/(.2-3+4))*.5*67*8*9
2010 = (1/(.2-3+4))*5*67*.8*9
2010 = (1*(2/3+4)-.5)*67*.8*9
2010 = (1*2/(.3+4+.5))*67*8*9
2010 = ((1/.2)*345+6+78)/.9
2010 = 1+(2+3)*(4-5-6)*7*(.8-9)
2010 = 1-(2/.3)*4*(.5*6-78)+9
2010 = 1-(2/.3)*4*(5*.6-78)+9
2010 = (1*2+3)*(4+5*(.6+7+8*9))
2010 = 1*(2+3)*(4+5*(.6+7+8*9))
2010 = 1+(2+(3+4*5+6)*7)*(.8+9)
2010 = 1+(2+3)*(4+5*6+7)*(.8+9)
2010 = 12-(.3/.4)*(5-6*7)*8*9
2010 = 12-(3/.4)*(5-6*7)*.8*9
2010 = 12-(3/.4)*(5-6*7)*8*.9
2010 = 1+(2/.3)*45*(6+.7)+8-9
2010 = 1+(2/.3)*(4+.5)*67+8-9
2010 = 1+(2+(3-4+5*6)*7)*(.8+9)
2010 = ((1+2)/.3)*(45+67+89)
2010 = 1-(23+.4+.5+.6)*(7-89)
2010 = 1*2*(.3+4+56)*(7+8)/.9
2010 = 1+(2+3)*(4-5+6*7)*(.8+9)
2010 = 1-(2+3*(4+5)+6)*7*(.8-9)
2010 = 1+(2/.34)*(.5+6*7)*8+9
2010 = 1+(2/.3)*(4+.5*67)*8+9
2010 = (1.2/.34)*5*6.7*(8+9)
2010 = (.1*2/.3-4*56)*(7-8)*9
2010 = (1*.2/.3-4*56)*(7-8)*9
2010 = 1*(.2/.3-4*56)*(7-8)*9
2010 = 1.2+3*(4/.5+.6+.7)*8*9
2010 = (123/.4)*5+(6*7/.8)*9
2010 = (1.2/.3)*(4.5-6+7*8*9)
2010 = 1/(.2-.3)-4*(5-6-7*8*9)
2010 = (1-.2-3/.4)*5*6*(7-8-9)
2010 = (1+(2/3+.4*5)*678)/.9
2010 = (1+(2/3+4*.5)*678)/.9
2010 = (1/.2-3+4)*(.5+6*7*8)-9
2010 = (1-2*34)*5*6*(.7-.8-.9)
2010 = (1+(2/3.4)*5)*(6+7*8*9)
2010 = 1+2-(3/(.4-.5)-6)*7*8-9
2010 = ((1+2)/.3)*(45*6-78+9)
2010 = (1*2*3*4*5+.6)*(7+8)/.9
2010 = 1*(2*3*4*5+.6)*(7+8)/.9
2010 = 1+.2-(3-(4-.5-.6)*78)*9
2010 = (1+234/.5)*6*7/(.8+9)
2010 = 1-(2/.3)*(4+.5-6*7)*8+9
2010 = 12*(3.4+(5+6)*(7+8)-.9)
2010 = (.1*2*3+4*5*6)*(7+8)/.9
2010 = (1*.2*3+4*5*6)*(7+8)/.9
2010 = (1*2*.3+4*5*6)*(7+8)/.9
2010 = 1*(.2*3+4*5*6)*(7+8)/.9
2010 = 1*(2*.3+4*5*6)*(7+8)/.9
2010 = (1/.2)*3*(45-(6-7)*89)
2010 = (1-2-3+4*(.5/.6+7*8))*9
2010 = (1-.2/3-.4-5)*(6-7*8)*9
2010 = (12/.34)*.5*6.7*(8+9)
2010 = (12/3.4)*5*67*(.8+.9)
2010 = ((1/.2)*3-45)*67*(8-9)
2010 = (1+(.2+3)*45)*(6+7.8)+9
2010 = 12*34*5+.6/(.7-.8*.9)
2010 = (1+.2)*(34-.5)*(67-8-9)
2010 = (1+2)*(3-4/.5+(67+8)*9)
2010 = (1+2+3)*(.4-.5+6*7*8-.9)
2010 = (1-2-3)*(.4+.5+.6-7*8*9)
2010 = (1+23)*(4-5+6+(7/.8)*9)
2010 = (1+.2+.3)*4*(.5+6*7*8)-9
2010 = ((1+23)/4)*(.5+6*7*8)-9
2010 = ((1-2)/.3)*(4-56-7-8)*9
2010 = 1*2*3*(.4*.5+6*(7-.8)*9)
2010 = (1+((2+3)*45-6+7)*8)/.9
2010 = (1/.2)*((3+4)*56-7+8+9)
2010 = (1/.2)*((3-4+56)*7+8+9)
2010 = ((12/.3)*45-6+7+8)/.9
2010 = (.1*2/.3+4-.5)*67*.8*9
2010 = (1*.2/.3+4-.5)*67*.8*9
2010 = (1/.2)*(3+(4-5+6)*78+9)
2010 = .1*(.2/.3+4-.5)*67*8*9
2010 = 1*(.2/.3+4-.5)*67*.8*9
2010 = (1/(2.3-.4+.5))*67*8*9
2010 = (1+2.3/.4)*5*6.7*8/.9
2010 = ((1-2)/(3-.4-5))*67*8*9
2010 = (1-(2-3*(4+5+67))*8)/.9
2010 = 1*((2+34)*(.5/6+7*8)-9)
2010 = ((1-2)/.3+45)*6.7*.8*9
2010 = (1+2.3*4)*5*67/(.8+.9)
2010 = (1/.2-(3+4)*5)*67*(8-9)
2010 = (1/.2)*(3-4-5)*67*(8-9)
2010 = (1+2)*34*5*6.7/(.8+.9)
2010 = ((1-.2)*34-.5)*67/.89
2010 = (12+3)*4*5*(6-.7/(8-9))
2010 = (1+2+3)*((4/.5)*6*7+8-9)
2010 = 12*(3/.4+(5+6+7)*8/.9)
2010 = 1+.2+3*(4/.5+.6+.7)*8*9
2010 = 12*3*(4+(5*6+7)/.8)/.9
2010 = (12/.3+.4*.5)*(67-8-9)
2010 = 1+(2/.3)*(4+(5*6+7)*8)+9
2010 = ((1.2/.3)*456-7-8)/.9
2010 = (1+(234-5.6/.7)*8)/.9
2010 = 1+((2+3)*4/.5)*(6*7+8)+9
2010 = (1.2/.3)*(4+.5-6+7*8*9)
2010 = (1*2*3/.4)*(5-6+(7+8)*9)
2010 = (1/.2)*((3-4*5)*6+7*8*9)
2010 = 12*(34*5-6/(.7+.8+.9))
2010 = (1/.2)*(3+4+5+6*(7*8+9))
2010 = (1+(.2+3)*45)*(6+7+.8)+9
2010 = 1+(2/.3)*(4*(5+6)*7-8)+9
2010 = 12*3*(4-(5-6*7)/.8)/.9
2010 = 1+(2/.3)*(4-(5-6*7)*8)+9
2010 = (1/.2)*(3+(4+5+6*7)*8-9)
2010 = 1+((2+3)*4*56/.7)/.8+9
2010 = (1+(23*4/.5+6*7)*8)/.9
2010 = ((1+2-.3)/.4)*5*67*8/9
2010 = ((1+2-.3)/4)*5*67*8/.9
2010 = 1+((2*3/.4)/.5)*67+8-9
2010 = ((1+2)*3+4*5*6*(7+8))/.9
2010 = 12-3*(.4-(5+.6)*7*(8+9))
2010 = (1-2)*(3+4*(.5/6-7*8)*9)
2010 = (1+23/4)*5*(6+.7)*8/.9
2010 = (1+(2+.3)/.4)*5*67*8/9
2010 = (1+2.3/.4)*.5*67*8/.9
2010 = (1+2.3/.4)*5*67*.8/.9
2010 = 12*(3+.4+(5+6)*(7+8)-.9)
2010 = (1+2+(.3/4)*5)*67*8/.9
2010 = (1+2+(3/4)*.5)*67*8/.9
2010 = (12/.3-4)*(.5/6+7*8)-9
2010 = (1*(2-3)+4*(.5/6+7*8))*9
2010 = 12+3*(.4/(.5-.6)+78)*9
2010 = 1+(23+4*(.5+6)*7)*(.8+9)
2010 = .1*(2-34*(.5-67)*8)/.9
2010 = ((1+2)*(3+4)-.5/6+7)*8*9
2010 = ((.1-.2)/3+.45)*67*8*9
2010 = ((1*2/.3)*4*5+6*(7+8))*9
2010 = 1*((2/.3)*4*5+6*(7+8))*9
2010 = 1-((2+3)*4/.5)*(6-7*8)+9
2010 = (1/.2)*3*(4+5+6+7*(8+9))
2010 = (1+23*.4)*5*67/(.8+.9)
2010 = 1-(2-3*(.4*5+67))*(.8+9)
2010 = 1-(2-3*(4*.5+67))*(.8+9)
2010 = (1+2)*34*.5*67/(.8+.9)
2010 = (12+3)*4*5*(6-7*(.8-.9))
2010 = (1/.2)*(3+4+5-6*(7-8*9))
2010 = (.1-.2/3-4.5)*(6-7*8)*9
2010 = 1+(2+34)*56+.7/(.8-.9)
2010 = .1+(234+.5)*6/.7+.8-.9
2010 = (.1+(23/.4)*5-.6)*7-8+9
2010 = (1+((2+34.5)*6+7)*8)/.9
2010 = (1/.2-3-4*(.5/6-7)*8)*9
2010 = 12+(3/.4)*(5-.6-.7)*8*9
2010 = 12+(3/.4)*(.5*6+.7)*8*9
2010 = 12+(3/.4)*(5*.6+.7)*8*9
2010 = ((12/.3)*45.6-7-8)/.9
2010 = 12*3*(.4*.5/6+(7-.8)*9)
2010 = (.1-(2-.3)*4)*5*6*(7-8-9)
2010 = (1/.2-3-45*6)*(.7+.8-9)
2010 = (.1-2*(3+.4))*5*6*(7-8-9)
2010 = (1-2*34)*5*6/(.7-.8-.9)
2010 = (1+(2+.3/.45)*678)/.9
2010 = (1+2)/.3+4*5*6*(7+8)/.9
2010 = (1/(2+.3-.4+.5))*67*8*9
2010 = (.1+.23/.4)*5*67*8/.9
2010 = ((1*2/.3)/4)*(56+78)*9
2010 = 1-(.2-3)*(4-.5+6*7*(8+9))
2010 = (1-.2+3*(4+5)*67-.8)/.9
2010 = .1+(2/.3)*4.5*67+.8-.9
2010 = .1+(2/.3)*45*6.7+.8-.9
2010 = (1/.2)*(34-5)*(6+7.8)+9
2010 = ((1+23)*(4+5)*67/.8)/9
2010 = ((1+23)*(4+5)*67/8)/.9
2010 = 1-(2+3)*(4+.5*6)*7*(.8-9)
2010 = 1-(2+3)*(4+5*.6)*7*(.8-9)
2010 = (12/3.4)*5*(6+.7)*(8+9)
2010 = (12/(3+.4))*5*6.7*(8+9)
2010 = ((1/.2)*3-45)*67/(8-9)
2010 = (1-2.3*(4-56))*(7+8)/.9
2010 = (12-3)*4*(56-(.7+.8)/9)
2010 = (1/(.2-3)+4*5*6)*(7.8+9)
2010 = (1*2+34)*(56-(.7+.8)/9)
2010 = 1*(2+34)*(56-(.7+.8)/9)
2010 = (1+(2/.3+4*5)*67.8)/.9
2010 = (.1/.2)*3*4*(.5+6*7*8)-9
2010 = (1/.2)*.3*4*(.5+6*7*8)-9
2010 = (1/.2)*3*.4*(.5+6*7*8)-9
2010 = (1+(23-.4)*(5+67+8))/.9
2010 = (.1-(.2-3-45)*6)*7+.8+.9
2010 = (((1-2)/3)/4+.5)*67*8*9
2010 = 1*(23*((.4+5)/.6+78)+9)
2010 = ((1/.2)/(3+4+5))*67*8*9
2010 = (1-23*(4/5-6))*(7+8)/.9
2010 = (1-.2/.3+4-5*6*(.7-8))*9
2010 = ((1/2-34)/.5)*(6*7-8*9)
2010 = ((1+2)*3-4)*(5*(.6+78)+9)
2010 = (1-(2-3)*4)*(5*(.6+78)+9)
2010 = (1/.2-(3+4)*5)*67/(8-9)
2010 = (1/.2)*(3-4-5)*67/(8-9)
2010 = (1/.2)*(.34+5)*67/.89
2010 = (.1-.2/3-4-.5)*(6-7*8)*9
2010 = (1+(2/3)*(4+5*67)*8)/.9
2010 = (12/(3+.4))*.5*67*(8+9)
2010 = (1.2/.34)*5*67*(.8+.9)
2010 = (12/.34)*5*6.7*(.8+.9)
2010 = 1-(.2+3.4*(5+67))*(.8-9)
2010 = (1/.2)*(34-.5)*(6+7+8-9)
2010 = (.1/2-.3+4)*(5+(67-8)*9)
2010 = (1+2+.3/.4)*(5+(67-8)*9)
2010 = (.1+(2+3)*4)*(5+(6+7)*8-9)
2010 = (1/.2)*(34-5)*(6+7+.8)+9
2010 = (1+2)*3*4*(56-(.7+.8)/9)
2010 = (1+(2/.34)*.5)*(6+7*8*9)
2010 = (1*2/.3)*(4+.5*(67-8))*9
2010 = (1+((2+34+.5)*6+7)*8)/.9
2010 = 1-(((.2-34)*5-6)/.7)*8+9
2010 = 1/(.2-.3)-4*((5-67)*8-9)
2010 = (.1/.2-34)*(5-67+8)/.9
2010 = (1+23-4)*(.5+6*(7+8)/.9)
2010 = 12*(3-4*(5-(6-.7/.8)*9))
2010 = 1+(2+((3+4)*5-6)*7)*(.8+9)
2010 = (1-(2-34*(.5+6)-7)*8)/.9
2010 = 1-((2-(3+4)*5)*6-7)*(.8+9)
2010 = .1+2+(.3-4*(.5*.6-7*8))*9
2010 = 1-(2+3*(4+(5+6)*7))*(.8-9)
2010 = (1/(2-3)+4*(.5/6+7*8))*9
2010 = ((1+2*34*5-6)/(.7+.8))*9
2010 = (.1*2-3.4*(.5-67)*8)/.9
2010 = (1*.2-3.4*(.5-67)*8)/.9
2010 = 1*(.2-3.4*(.5-67)*8)/.9
2010 = ((12+3*4)*5+.6)*(7+8)/.9
2010 = (1+(2*3+4)*5)*67/(.8+.9)
2010 = 1-(2+(.3/.4)*5*6)*(7-89)
2010 = 1-(2+(3/.4)*.5*6)*(7-89)
2010 = 1-(2+(3/.4)*5*.6)*(7-89)
2010 = (1+2+(.3+4)*5*(6+78))/.9
2010 = (1+(.2-3)/.4)*5*67*(8-9)
2010 = (1+2)*(3*4+5)*67/(.8+.9)
2010 = (.1-.2/.3+4*56+.7-.8)*9
2010 = (1-(2-3*4)*5)*67/(.8+.9)
2010 = 1-(2+3*(4+.5)/.6)*(7-89)
2010 = (12/.34)*.5*67*(.8+.9)
2010 = (1/(.2-.3)-4*5)*67*(8-9)
2010 = (1*2/.3)*45*(6-.7*(8-9))
2010 = 1-(2-3*(4+5*(6+7)))*(.8+9)
2010 = (1+23)*(.4+.5+67/.8-.9)
2010 = 1.2+(3*4/.5)*(.6+.7+8)*9
2010 = 12*((.3-.4+5)*(6*7-8)+.9)
2010 = 1+((.2+3)/.4)*5*(6*7+8)+9
2010 = 12*(34-.5)*(6-.7-.8)/.9
2010 = ((1-2)/.3)*(4/5-67.8)*9
2010 = (1/(.2-3)+4*5*6)*(7+.8+9)
2010 = (1*2+(3-4*(.5/.6-7))*8)*9
2010 = 1*(2+(3-4*(.5/.6-7))*8)*9
2010 = ((1+2)/.3-4)*(.5+6*7*8)-9
2010 = (1/(.2/3-.4))*(5-678)-9
2010 = (1+(2+3/(4+.5))*678)/.9
2010 = (1-.2/(3-.4)+5*6)*(7*8+9)
2010 = 12*(.3-4*(5-6*(.7+8-.9)))
2010 = 1-(2+(3/(.4-.5)-6)*7)*8+9
2010 = 12*(.3-4*(5*(.6-7)-.8-9))
2010 = 1*((2/.3)*(4+5*6+.7)-8)*9
2010 = ((1*2/.3)*(4+5*6+.7)-8)*9
2010 = ((1-2)/.3)*(45+(6-78)*9)
2010 = (1*2+3)*4*(.5+6*(7+8)/.9)
2010 = 1-(2/.3)*(4-5*(.6+7)*8)+9
2010 = 1*(2+3)*4*(.5+6*(7+8)/.9)
2010 = 1+2+((3/.4)*(5-.6)*7-8)*9
2010 = ((1+2+3)*4*5+.6)*(7+8)/.9
2010 = (1/.2)*3*4*((.5-6)*7+8*9)
2010 = (.1+(2+.3)/4)*5*67*8/.9
2010 = (1-(.2/3)/.4)*.5*67*8*9
2010 = (1-(.2/3)/.4)*5*67*.8*9
2010 = 12*(.3+4*(5*(6+.7*.8)+9))
2010 = (.1*2-34*(.5-67)*.8)/.9
2010 = (1*.2-34*(.5-67)*.8)/.9
2010 = 1*(.2-34*(.5-67)*.8)/.9
2010 = 1+((2-3-4*5)/.6)*7*(.8-9)
2010 = 1-((.2+.3+4)*56-7)*(.8-9)
2010 = 1-((.2+3)/.4)*5*(6-7*8)+9
2010 = (1/(.2+3-.4/.5))*67*8*9
2010 = ((1+.2/3+4)*(.5+6*7)+8)*9
2010 = 1+(2/.3)*(4+5*(6+.7))*8+9
2010 = (1/.2)*3*4*5*(6-.7*(8-9))
2010 = 1+(2-3*(4+5/.6))*7*(.8-9)
2010 = 1*((23/.4)*5-.6)*7+.8+.9
2010 = (.1-2)/.3+4*(.5/6+7*8*9)
2010 = ((.1+.2)/.3-4)*(5-678)-9
2010 = (1-.2/.3-45)*6*(.7+.8-9)
2010 = ((1*23/.4)*5-.6)*7+.8+.9
2010 = .1/.2-((3-45)*6+.7)*8-.9
2010 = (1+2+3)*(.4*.5+6*(7-.8)*9)
2010 = .1+.2+(.3+4*5)*(6*(7+8)+9)
2010 = ((1-2*34)/.5)*(6*(7-8)-9)
2010 = ((.1/2+3*4+.5)/.6+7)*8*9
2010 = ((1+2)/.3)*((45-6)*7-8*9)
2010 = ((1-(23+4)*5)/.6)*(7-8)*9
2010 = ((1+(23/.4)*5)*6+78)/.9
2010 = (1.2/.3)*((4-5)/6+7*8)*9
2010 = 1/.2+(.3+4*5*6)*(7+8)/.9
2010 = (1*(.2/.3+4)-.5)*67*.8*9
2010 = (1+(.2/.3)*4+.5)*67*.8*9
2010 = (1+(2+3)/.4)*(56+78)/.9
2010 = 1+2*(.3-4*(5*6+.7))*(.8-9)
2010 = ((1+2)/3+4)*(5*(.6+78)+9)
2010 = ((.1-2+3*45)/.6+.7+.8)*9
2010 = (12+3)*((4+5)/.6+7*(8+9))
2010 = (1.2/.34)*5*(6+.7)*(8+9)
2010 = ((1+.2)/.34)*5*6.7*(8+9)
2010 = ((1-2)/.3)*(4+5)*67*(8-9)
2010 = (1-23*(.4-5.6))*(7+8)/.9
2010 = (1/.2)*((34/.5)*6-7-8+9)
2010 = (12/.3)*((4*5+6+7)/.8+9)
2010 = ((1-2)/.3)*(4-(5+6)*7*8+9)
2010 = ((1+2)/.3)*(4*(5-6+7)*8+9)
2010 = 1+.2+(3*4/.5)*(.6+.7+8)*9
2010 = (12/.3)*(.45-6+(7-.8)*9)
2010 = ((1+.2)/.3)*(4.5-6+7*8*9)
2010 = (1*2/.3)*(.4-.5+6*.7*8)*9
2010 = (.1+.2-3)*(4/.5-678)/.9
2010 = ((1+2+3)/.4)*(5-6+(7+8)*9)
2010 = ((.1-.2)/3+4.5)*(6*7+8)*9
2010 = (1-(2+3*(4-56/.7))*8)/.9
2010 = (1+(2/(3+.4))*5)*(6+7*8*9)
2010 = (1*2/.3)*(4+5*(6.7-.8))*9
2010 = (1/.2)*(3+(4*(5+6)+7)*8-9)
2010 = (1/.2)*3*((4+5)*(6+7)+8+9)
2010 = ((1-2)/.3)*(4/.5-67-8)*9
2010 = ((1-2)/.3)*(4/5-67-.8)*9
2010 = (1+2)*(3+(4/.5+67)*8)/.9
2010 = (1+2)*(3+(4/.5)*67/.8)-9
2010 = (1+2+3*4)*((5/.6)*(7+8)+9)
2010 = (((1-2)/.3)/4+5)*67*.8*9
2010 = (((1-2)/3)/.4+5)*67*.8*9
2010 = (1/.2)*(3+(4*5+6)*(7+8)+9)
2010 = (1/.2)*(3*(45/.6+7*8)+9)
2010 = (.1+.2+.3+4*5*6)*(7+8)/.9
2010 = (1/.2)*(3-(4-5*6)*(7+8)+9)
2010 = (1+(.2-3)/.4)*5*67/(8-9)
2010 = 1-(23+(.4+.5)/.6)*(7-89)
2010 = 1-((2+34)*(.5-6)-7)*(.8+9)
2010 = (12/.34)*.5*(6+.7)*(8+9)
2010 = (12/(3+.4))*5*67*(.8+.9)
2010 = ((.1*2/.3-4*56)/(7-8))*9
2010 = ((1*.2/.3-4*56)/(7-8))*9
2010 = (1*(.2/.3-4*56)/(7-8))*9
2010 = (1/(.2-.3)-4*5)*67/(8-9)
2010 = (1*2/.3)*45*(6-.7/(8-9))
2010 = (1+(23-.4)*(.5*6+7)*8)/.9
2010 = (1+(23-.4)*(5*.6+7)*8)/.9
2010 = ((.1-2/.3)*4-5)*(6/7-8)*9
2010 = (1+(2/(.3+.45))*678)/.9
2010 = ((1+2-.3)/.4)*5*6.7*8/.9
2010 = (1+2.3/.4)*5*(6+.7)*8/.9
2010 = (1+(2+.3)/.4)*5*6.7*8/.9
2010 = (1-23*(.4-5-.6))*(7+8)/.9
2010 = 1-((23-.4*5)/.6)*7*(.8-9)
2010 = 1-((23-4*.5)/.6)*7*(.8-9)
2010 = .1*.2-(.3+.4-5*6)*7*(.8+9)
2010 = ((1-2)/.3+45)*(6+.7)*.8*9
2010 = ((.1-.2)/.3+4.5)*67*.8*9
2010 = (1+(2+.3)*4)*5*67/(.8+.9)
2010 = 1+(2+(3+4*(.5+6))*7)*(.8+9)
2010 = (1+2)*34*5*(6+.7)/(.8+.9)
2010 = (1/.2)*3*4*5*(6-.7/(8-9))
2010 = (1*2/.3)*45*(6-7*(.8-.9))
2010 = (1*2/.3)*((4+5)*.6*7*8-.9)
2010 = (1*2/.3)*((4+5)*6*.7*8-.9)
2010 = (1*2/.3)*((4+5)*6*7*.8-.9)
2010 = ((1/.2)*3/4)*(5+(67-8)*9)
2010 = ((1/2)*3/.4)*(5+(67-8)*9)
2010 = (((1+.2)/.3)*456-7-8)/.9
2010 = (1+(234-(5+.6)/.7)*8)/.9
2010 = ((.1-.2)/3+4+.5)*(6*7+8)*9
2010 = ((1+.2)/.3)*(4+.5-6+7*8*9)
2010 = (1-2-3)*((.4+.5)/.6-7*8*9)
2010 = (.1*2+(.3-45)*6)*(.7+.8-9)
2010 = (1*.2+(.3-45)*6)*(.7+.8-9)
2010 = 1*(.2+(.3-45)*6)*(.7+.8-9)
2010 = ((1-.2)*3/.4)*(.5+6*7*8)-9
2010 = (1/(.2+.3)+4)*(.5+6*7*8)-9
2010 = (1*2/.3)*(4+5*(6+.7-.8))*9
2010 = ((1-2*34)/.5)*(6/(7-8)-9)
2010 = ((.1/2+3/.4+5)/.6+7)*8*9
2010 = ((1+2-.3)/.4)*.5*67*8/.9
2010 = ((1+2-.3)/.4)*5*67*.8/.9
2010 = 1+((2/.3+.4)*5*6-7)*(.8+9)
2010 = (1/.2)*((34/.5)*6-7.8)+9
2010 = (1+(2+.3)/.4)*.5*67*8/.9
2010 = (1+(2+.3)/.4)*5*67*.8/.9
2010 = (1+2+(.3/.4)*.5)*67*8/.9
2010 = (1/(.2-.3+.4))*(5+6+7*8)*9
2010 = ((1+.2/.3+4)*5*(.6+7)+8)*9
2010 = 1-(2*3*(4-.5)/.6)*7*(.8-9)
2010 = ((1-2)/.3)*(4+5)*67/(8-9)
2010 = (1/.2)*3*4*5*(6-7*(.8-.9))
2010 = ((.1+(2+3)*4)/.5)*(67-8-9)
2010 = ((12/.3)*(45+.6)-7-8)/.9
2010 = (12/.3-4)*(56-(.7+.8)/9)
2010 = ((1-2*34)/(.5+(6-7)*.8))*9
2010 = ((1+23)/.4)*((.5-6)*7+8*9)
2010 = .1*.2+(3+4)*(5*6-.7)*(.8+9)
2010 = ((1-2+3)/.4)*(5*(.6+78)+9)
2010 = (1+(23/(.4+5))*6*(.7+8))*9
2010 = .1+(2/.3)*45*(6+.7)+.8-.9
2010 = .1+(2/.3)*(4+.5)*67+.8-.9
2010 = ((1+2)/(.3*4+.5))*67*(8+9)
2010 = ((1+2)/(3*.4+.5))*67*(8+9)
2010 = (12/(3+.4))*5*(6+.7)*(8+9)
2010 = ((12/.3)*45+.6*(7+8))/.9
2010 = (1-(2+.3)*(4-56))*(7+8)/.9
2010 = ((1+23)/.4)*5*(6-.7*(8-9))
2010 = (1/.2)*((34/.5)*6-7-.8)+9
2010 = ((12+3)/.4)*(56-.7-.8-.9)
2010 = 1-((.2-3)/.4)*((5*6+7)*8-9)
2010 = (12*3/.4)*(5+(.6+7+8)/.9)
2010 = ((1+2)/.3)*(4+5*(6*7-.8)-9)
2010 = (1+(2/.3+4*5)*(67+.8))/.9
2010 = 1-((.2-3)/.4)*(5+6*(7*8-9))
2010 = (1*2/.3)*4*((.5+67)/.8-9)
2010 = 1+((.2-3)/.4)*((5-6*7)*8+9)
2010 = (12/.3)*((.4+5+6*7)/.8-9)
2010 = ((12+3)*4/.5+.6)*(7+8)/.9
2010 = (1+(2-(3+4)*5*(.6-7))*8)/.9
2010 = 1+(2+3)*((4/.5)*6-7)*(.8+9)
2010 = (12/3)*((.4-.5)/.6+7*8)*9
2010 = ((1/2)/(.3+.4+.5))*67*8*9
2010 = (1-23*(.4/.5-6))*(7+8)/.9
2010 = (1/.2)*(3+(4-.5)*(6*7+8*9))
2010 = ((.1/.2-34)/.5)*(6*7-8*9)
2010 = ((1-2)*3/.4)*(5*(.6-7*8)+9)
2010 = (1/.2)*(3+4*(.5+6)*(7+8)+9)
2010 = (1+(2/.3)*4*(.5+67)+8)/.9
2010 = (.1-2)*(34-.5)*6/(.7-.89)
2010 = (1+(2/.3)*(4+5*67)*.8)/.9
2010 = (12/.34)*5*(6+.7)*(.8+.9)
2010 = ((1+.2)/.34)*5*67*(.8+.9)
2010 = (((1+2)/3.4)/.5)*67*(8+9)
2010 = 1-(.2+(3+.4)*(5+67))*(.8-9)
2010 = 1*(((23/.4)*5-.6)*7+.8+.9)
2010 = 1*(((23/.4)*5-.6)*7+.8)+.9
2010 = ((1/.2+3)/.4)*5*(6+7+8-.9)
2010 = ((1.2+.3)/.4)*(5+(67-8)*9)
2010 = (1/(.2+.3)-4*(.5/6-7)*8)*9
2010 = (1/(.2+.3)-45*6)*(.7+.8-9)
2010 = (1*2/.3)*(.4+.5*(67-.8))*9
2010 = (1-((.2-3/.4)*5*6-7)*8)/.9
2010 = (1-(.2/.3-4)*(.5+67-.8))*9
2010 = (1/.2+(3/.4)*5*6)*(.7+8)+9
2010 = (.1*2-(3+.4)*(.5-67)*8)/.9
2010 = (1*.2-(3+.4)*(.5-67)*8)/.9
2010 = 1*(.2-(3+.4)*(.5-67)*8)/.9
2010 = 1-((2/.3)*4+5/.6)*7*(.8-9)
2010 = 1-(.2-3*(4+5)*(.6+7))*(.8+9)
2010 = ((12+3)/.4)*(.5+(67-8)*.9)
2010 = (1/(.2/3-.4))*(5-(67+8)*9)
2010 = ((1-2)/.3)*(.4/.5-67.8)*9
2010 = (1+2)*(3+(4/.5)*(67+8))/.9
2010 = ((1-2*34)/(.5+(.6-7)/8))*9
2010 = (1+2*(3+4))*((5/.6)*(7+8)+9)
2010 = ((1+2)/.3)*((4*5-6)*(7+8)-9)
2010 = .1+((2/.3)*4*5+.6)*(7+8)+.9
2010 = .1+((2*3/.4)/.5)*67+.8-.9
2010 = ((12/.3)*(.4+5)*67/.8)/9
2010 = ((12/.3)*(.4+5)*67/8)/.9
2010 = (((1-2*34)/.5)/.6)*(7-8)*9
2010 = ((1+23)/.4)*5*(6-.7/(8-9))
2010 = ((1*2/.3)/.4)*(5.6+7+.8)*9
2010 = ((.1+.2)/.3-4)*(5-(67+8)*9)
2010 = ((1+.2+.3)/.4)*(5+(67-8)*9)
2010 = (1*2*3/.4)*((5/.6)*(7+8)+9)
2010 = (((1/.2)/3+4)*5*(.6+7)+8)*9
2010 = (((1/2)/.3+4)*5*(.6+7)+8)*9
2010 = ((1+.2)/.3)*((4-5)/6+7*8)*9
2010 = 1-(((2-.3)/.4)*56+7)*(.8-9)
2010 = (1/.2)*3*((4+5)/.6+7*(8+9))
2010 = (1/.2)*((3+.4*5)*(.6+78)+9)
2010 = (1/.2)*((3+4*.5)*(.6+78)+9)
2010 = (1+(2/.3)*(.4+5*6.7)*8)/.9
2010 = ((1+.2)/.34)*5*(6+.7)*(8+9)
2010 = ((12/.3)*45+6*(.7+.8))/.9
2010 = ((1+23)/.4)*5*(6-7*(.8-.9))
2010 = ((12/.3)/.4)*(5+6-.7+.8+9)
2010 = ((1-2)/.3)*(.4/.5-67-.8)*9
2010 = (((.1-.2)/3)/.4+.5)*67*8*9
2010 = (((1-(23+4)*5)/.6)/(7-8))*9
2010 = 1-(2+(3/.4)*(5-.6))*7*(.8-9)
2010 = ((1-.2/3+4/.5)/.6)*(7+8)*9
2010 = (1+(2/.3)*(.4+.5*67)*8)/.9
2010 = (((1+2)/.34)/.5)*6.7*(8+9)
2010 = ((1*2/.3)/.4)*(5+.6+7+.8)*9
2010 = ((12+3)/.4)*(.5+(6.7-.8)*9)
2010 = ((.1-2/.3)*4-5)*(.6/.7-8)*9
2010 = ((1+2-.3)/.4)*5*(6+.7)*8/.9
2010 = (1+(2+.3)/.4)*5*(6+.7)*8/.9
2010 = (.1/(.2-.3)+4*(.5/6+7*8))*9
2010 = ((.1/.2)*3/.4)*(5+(67-8)*9)
2010 = ((1/.2)*.3/.4)*(5+(67-8)*9)
2010 = (12/.3)*((4*(.5+6)+7)/.8+9)
2010 = (1+((2/.3)/.4)*5/6)*(7+8)*9
2010 = ((1/.2-3)/.4)*(5*(.6+78)+9)
2010 = (((1-2)/.3)*(.4-5*(6+7))+8)*9
2010 = ((12+3)/.4)*(.5+(6+.7-.8)*9)
2010 = (12/.3)*((.4+56)*.7/.8+.9)
2010 = (1.2/.3)*((.4-.5)/.6+7*8)*9
2010 = (((.1-2)/.3)*(4/.5-6*7)+8)*9
2010 = ((12+3)/.4)*(.5+6*(.7+8)+.9)
2010 = ((.1+.2)/.3+4)*(5*(.6+78)+9)
2010 = ((1/.2)*3/.4)*(56-.7-.8-.9)
2010 = ((1/.2)/.3)*(45+(.6+7.8)*9)
2010 = ((12/(.3-.4))/(5/.67-8))*9
2010 = ((1/.2)*3*4/.5+.6)*(7+8)/.9
2010 = ((.1/.2)/(.3+.4+.5))*67*8*9
2010 = ((1/.2)/(.3+.4+.5))*67*.8*9
2010 = 1-(2/.3)*(.4-(.5+6*7)*(8-.9))
2010 = (((1+2)/(3+.4))/.5)*67*(8+9)
2010 = ((1+2+3)/.4)*((5/.6)*(7+8)+9)
2010 = ((1+2)/.3)*((4/.5+6)*(7+8)-9)
2010 = ((1+((2/.3)/.4)/.56)*7+8)*9
2010 = (((1+2)/.34)/.5)*67*(.8+.9)
2010 = ((((1+2)/.3)/.4)*5/.6+7+8)*9
2010 = ((1/.2)*3/.4)*(.5+(67-8)*.9)
2010 = ((1/.2)/(.3-.4))*(5*6-78*.9)
2010 = ((.1+2)/.3)*(4-(.5/6)/7)*8*9
2010 = (((1/.2)/.3)*4/.5+6*(7+8))*9
2010 = (((.1-2)/.3)*(4-5*(.6+7))+8)*9
2010 = (((.1/.2)/.3+4)*5*(.6+7)+8)*9
2010 = ((((1-2*34)/.5)/.6)/(7-8))*9
2010 = (1+(2/.3)*(.4+5*(6+.7))*8)/.9
2010 = (((1+2)/.34)/.5)*(6+.7)*(8+9)
2010 = ((1/.2)*3/.4)*(.5+(6.7-.8)*9)
2010 = (((1+23)/.4)/.5+.6)*(7+8)/.9
2010 = ((1/.2+3)/.4)*(.5+6*(7+8)/.9)
2010 = ((1/.2)/.3+(4*5/.6)*(7-.8))*9
2010 = (((1+2/.3)/.4)/.5)*6*(.7+8)+9
2010 = ((1/.2)/.3)*(.4+.5+(6-.7+8)*9)
2010 = ((1/.2)*3/.4)*(.5+(6+.7-.8)*9)
2010 = ((1+.2)/.3)*((.4-.5)/.6+7*8)*9
2010 = ((1/.2)*3/.4)*(.5+6*(.7+8)+.9)
2010 = ((1/(.2+.3))/.4)*(5*(.6+78)+9)
2010 = ((1/.2)/.3)*((4+5)*(6-.7+8)+.9)
2010 = ((1/(.2-.3))/(.4-.5))*(6+7+8-.9)
文章:来源
(转载本站文章请注明作者和出处 宝酷 – sou-ip ,请勿用于任何商业用途)
《2010 = 1+2-(3-4-5)*6*7*8-9》的相关评论
谁给段程序啊? 我完全不知从何下手 :(
如果只是四则运算还好吧?还有小数点和多位数,就很恐怖了…
程序怎么写呢?思考中…
123456789字符串,然后往中间加各种符号,()_+*/. 然后求值
@nicky_hk
………..
等于没说。
我觉得,能搞定这个问题的朋友,应该算是比较厉害的了。
@gugaotianshi
我以前也想过,也不知道怎么做。
用PHP写过算24点的
代码看这里:http://code.google.com/p/24game/
我认为如果有使用表达式解析器,只要穷举所有表达式,依次计算。这种方法的话基本无难度
表达式解析器? Lisp 之类的函数编程语言天生的。
不过,穷举所有表达式也不容易啊,主要是那个N对的括号- –
———–
我现在想到的是把 2010 分成两个数,即:
2010 = f(x,y)
如 2010 = 1 + 2009
之后再递归迭代 1 = f(x’,y’), 2009 = f(x”,y”)。
然后,每次迭代,都会尝试去求得 x 与 y 在即有条件下是否可以构造成功。
———————–
有空时看看24点的算法看有无启示 :)
围观。。。这题目很久前搞过一些~~~现在不行了。。code少了~~
大脑栈溢出了。。。
花了大概一天时间,终于写好了一个将字符串型的四则运算表达式计算出double型结果的东西了。有点小成就感,呵呵。
牛人!
穷举就无难度了么?量变引起质变哦。有些东西理论简单,具体实现就难了,试试这道题:给出最接近十万亿的那一个质数。
编程之美,二十四点。
本质都是穷举加上剪枝优化
博主说的是只使用加减乘除还有括号,哪来的点号啊?
做了一个 python 的简单实现,处理了使用单个数的情况,结果中会有些重复
def f(n):
if len(n) == 1:
yield n[0], str(n[0])
else:
for i in range(1, len(n)):
nx, ny = n[:i], n[i:]
for x, ex in f(nx):
for y, ey in f(ny):
yield x + y, ‘(‘ + ex + ‘+’ + ey + ‘)’
yield x – y, ‘(‘ + ex + ‘-‘ + ey + ‘)’
yield x * y, ‘(‘ + ex + ‘*’ + ey + ‘)’
for i, e in f([1, 2, 3, 4, 5, 6, 7, 8, 9]):
if i == 2010:
print(e + ‘=’ + str(i))
想了种方法,不懂可不可行… 随机生成数字之间的运算符号-> 判断合法性->判断表达式的值是否等于2010,相等就输出表达式。运行足够的时间应该是可以生成结果的吧
遍历是一个指数复杂度的问题,“足够”的时间是不可能的。。。@wolfking