问题描述:
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