摘要:
http://acm.sdut.edu.cn/sdutoj/problem.php?action=showproblem&problemid=1293思路:设n = x1+x2+x3.....,要使f[x] = x1*x2*x3....最大,则x1=x2=x3.... 即f[x] = x^(n/x) , 两边同时取对数得:ln(f[x]) = (n/x)lnx, 令g(x) = ln(f[x]) =(n/x)lnx,对g(x)求导 得:g(x)' = n*(1-lnx),令 g(x)' = 0 得 x = e = 2.718..... 因为x为正整数,所以x=2或x=3 阅读全文
posted @ 2014-03-13 16:29
N_ll
阅读(313)
评论(0)
推荐(0)

浙公网安备 33010602011771号