早教吧 育儿知识 作业答案 考试题库 百科 知识分享

a,b,c,d,e为互不相等正偶数(2008-a)(2008-b)(2008-c)(2008-d)(2008-e)=576,则aa+bb+cc+dd+ee,

题目详情
▼优质解答
答案和解析
for a=0 to 2008 step 2
for b=0 to 2008 step 2
for c=0 to 2008 step 2
for d=0 to 2008 step 2
for e=0 to 2008 step 2
if (2008-a)* (2008-b)*(2008-c)*(2008-d)*(2008-e)=576 then
m=a*a+b*b+c*c+d*d+e*e
print m
end if
next e
next d
next c
next b
next a