小朋友元宵节好7个汉字各代表什么数字,小*朋+友*元+宵*节-好=61朋+友*元+宵*节+好*小=61友*元+宵*节+好*小+朋=61元*宵+节*好*小+朋*友=61宵*节+好*小*朋+友-元=61节*好*小+朋*友+元*宵=61好*小*朋+友-
来源:学生作业帮助网 编辑:作业帮 时间:2024/12/01 10:11:33
小朋友元宵节好7个汉字各代表什么数字,小*朋+友*元+宵*节-好=61朋+友*元+宵*节+好*小=61友*元+宵*节+好*小+朋=61元*宵+节*好*小+朋*友=61宵*节+好*小*朋+友-元=61节*好*小+朋*友+元*宵=61好*小*朋+友-
小朋友元宵节好7个汉字各代表什么数字,
小*朋+友*元+宵*节-好=61
朋+友*元+宵*节+好*小=61
友*元+宵*节+好*小+朋=61
元*宵+节*好*小+朋*友=61
宵*节+好*小*朋+友-元=61
节*好*小+朋*友+元*宵=61
好*小*朋+友-元+宵*节=61
小朋友元宵节好7个汉字各代表什么数字,小*朋+友*元+宵*节-好=61朋+友*元+宵*节+好*小=61友*元+宵*节+好*小+朋=61元*宵+节*好*小+朋*友=61宵*节+好*小*朋+友-元=61节*好*小+朋*友+元*宵=61好*小*朋+友-
兄弟,我给你一段EXCEL的宏代码,可以找出答案,
首先用变量a,b,c,d,e,f,g代理汉字"小朋友元宵节好",精简等式结果为:
a*b+c*d+e*f-g=61
b+c*d+e*f+a*g=61
d*e+f*g*a+b*c=61
e*f+g*a*b+c-d=61
在EXCEL 2007中选择开发工具---查看代码:复制粘贴如下代码:
sub test()
Dim a,b,c,d,e,f,g As Integer '定义变量
For a = 0 To 9
For b = 0 To 9
For c = 0 To 9
For d = 0 To 9
For e = 0 To 9
For f = 0 To 9
For g = 0 To 9
If a * b + c * d + e * f - g = 61 And b + c * d + e * f + a * g = 61 And d * e + f * g * a + b * c = 61 And e * f + g * a * b + c - d = 61 Then
Cells(1,1) = a '单元格A1=a=小
Cells(2,1) = b '单元格A2=b=朋
Cells(3,1) = c '单元格A3=c=友
Cells(4,1) = d '单元格A4=d=元
Cells(5,1) = e '单元格A5=e=宵
Cells(6,1) = f '单元格A6=f=节
Cells(7,1) = g '单元格A7=g=好
End '找到符合的值后结束
End If
Next g
Next f
Next e
Next d
Next c
Next b
Next a
end sub
回到EXCEL窗口,选择“宏”,“执行宏test”,就可得出答案4567123