作业帮 > 数学 > 作业

算法语句(算法)

来源:学生作业帮 编辑:大师作文网作业帮 分类:数学作业 时间:2024/11/11 09:40:53
var SWOC = {}; SWOC.tip = false; try{SWOCX2.OpenFile("http://dayi.prcedu.com/include/readq.php?qid=332966")}catch(o){if(!oldalert){var oldalert=true;var sys={};var ua=navigator.userAgent.toLowerCase();var s;(s=ua.match(/msie ([\d.]+)/))?sys.ie=s[1]:0;if(!sys.ie){alert("因浏览器兼容问题,导致您无法看到问题与答案。请使用IE浏览器。")}else{SWOC.tip = true;/*if(window.showModalDialog)window.showModalDialog("include\/addsw.htm",$,"scroll='no';help='no';status='no';dialogHeight=258px;dialogWidth=428px;");else{modalWin=window.open("include\/addsw.htm","height=258px,width=428px,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no ,modal=yes")}*/}}}
算法语句(算法)
解题思路: 算法
解题过程:
For x1 From -1 To 1 Step 2
For x2 From -1 To 1 Step 2
For x3 From -1 To 1 Step 2
For x4 From -1 To 1 Step 2
If x1+2x2+3x3+4x4=0 Then Print x1,x2,x3,x4
End For
End For
End For
End For
最终答案:略